RHEL/CentOS 7/6, Debian 8 എന്നിവയിൽ ആൽഫ്രെസ്കോ കമ്മ്യൂണിറ്റി എഡിഷൻ എങ്ങനെ ഇൻസ്റ്റാൾ ചെയ്യാം
ഇലക്ട്രോണിക് മാനേജ്uമെന്റ്, സഹകരണം, ബിസിനസ് നിയന്ത്രണം എന്നിവ നൽകുന്ന ജാവയിൽ എഴുതിയ ഒരു ഓപ്പൺ സോഴ്uസ് ഇസിഎം സിസ്റ്റം (എന്റർപ്രൈസ് കണ്ടന്റ് മാനേജ്uമെന്റ്) ആണ് ആൽഫ്രെസ്കോ.
RHEL/CentOS 7/6, Debian 8, Ubuntu സിസ്റ്റങ്ങൾ എന്നിവയിൽ ആൽഫ്രെസ്കോ കമ്മ്യൂണിറ്റി എഡിഷൻ എങ്ങനെ ഇൻസ്റ്റാൾ ചെയ്യാമെന്നും കോൺഫിഗർ ചെയ്യാമെന്നും ഈ ഗൈഡ് വിവരിക്കും.
ഏറ്റവും കുറഞ്ഞ സിസ്റ്റം ആവശ്യകതകളെ സംബന്ധിച്ചിടത്തോളം, ആൽഫ്രെസ്കോയ്ക്ക് കുറഞ്ഞത് 4 GB റാമും 64-ബിറ്റ് ഓപ്പറേറ്റിംഗ് സിസ്റ്റവുമുള്ള ഒരു മെഷീൻ ആവശ്യമാണ്.
ഘട്ടം 1: ആൽഫ്രെസ്കോ കമ്മ്യൂണിറ്റി പതിപ്പ് ഇൻസ്റ്റാൾ ചെയ്യുക
1. ആൽഫ്രെസ്uകോ ഇൻസ്റ്റലേഷനുമായി മുന്നോട്ട് പോകുന്നതിന് മുമ്പ്, റൂട്ട് പ്രത്യേകാവകാശങ്ങൾ ഉപയോഗിച്ചോ റൂട്ട് അക്കൗണ്ടിൽ നിന്നോ താഴെയുള്ള കമാൻഡ് നൽകി നിങ്ങളുടെ മെഷീനിൽ wget യൂട്ടിലിറ്റി ഇൻസ്റ്റാൾ ചെയ്തിട്ടുണ്ടെന്ന് ഉറപ്പ് വരുത്തുക.
# yum install wget # apt-get install wget
2. അടുത്തതായി, നിങ്ങളുടെ സിസ്റ്റം ഹോസ്റ്റ്നാമം സജ്ജീകരിക്കുകയും ഇനിപ്പറയുന്ന കമാൻഡുകൾ നൽകിക്കൊണ്ട് ലോക്കൽ റെസല്യൂഷൻ നിങ്ങളുടെ സെർവർ IP വിലാസത്തിലേക്ക് പോയിന്റുചെയ്യുന്നുവെന്ന് ഉറപ്പാക്കുകയും ചെയ്യുക:
# hostnamectl set-hostname server.alfresco.lan # echo “192.168.0.40 server.alfresco.lan” >> /etc/hosts
3. താഴെ പറയുന്ന കമാൻഡ് നൽകിക്കൊണ്ട് മെഷീനിൽ നിന്ന് ഏതെങ്കിലും MTA നീക്കം ചെയ്യുക (ഈ സാഹചര്യത്തിൽ പോസ്റ്റ്ഫിക്സ് മെയിൽ സെർവർ):
# yum remove postfix # apt-get remove postfix
4. ശരിയായി പ്രവർത്തിക്കുന്നതിന് Alfresco സോഫ്റ്റ്uവെയറിന് ആവശ്യമായ ഇനിപ്പറയുന്ന ഡിപൻഡൻസികൾ ഇൻസ്റ്റാൾ ചെയ്യുക:
# yum install fontconfig libSM libICE libXrender libXext cups-libs # apt-get install libice6 libsm6 libxt6 libxrender1 libfontconfig1 libcups2
5. അടുത്തതായി, wget യൂട്ടിലിറ്റിയിലേക്ക് പോകുക.
# wget http://nchc.dl.sourceforge.net/project/alfresco/Alfresco%205.0.d%20Community/alfresco-community-5.0.d-installer-linux-x64.bin
6. ബൈനറി ഫയൽ ഡൗൺലോഡ് പൂർത്തിയായ ശേഷം, ഫയലിനായി എക്uസിക്യൂഷൻ പെർമിഷനുകൾ നൽകുന്നതിനും ആൽഫ്രെസ്കോ ഇൻസ്റ്റാളർ പ്രവർത്തിപ്പിക്കുന്നതിനും ഇനിപ്പറയുന്ന കമാൻഡ് നൽകുക.
# chmod +x alfresco-community-5.0.d-installer-linux-x64.bin # ./alfresco-community-5.0.d-installer-linux-x64.bin
7. ഇൻസ്റ്റലേഷൻ പ്രക്രിയ ആരംഭിച്ചതിന് ശേഷം, ആൽഫ്രെസ്കോ കോൺഫിഗർ ചെയ്യുന്നതിനുള്ള ഗൈഡായി താഴെയുള്ള ഇൻസ്റ്റലേഷൻ വിസാർഡ് ഉപയോഗിച്ച് ഭാഷ തിരഞ്ഞെടുത്ത് ഇൻസ്റ്റലേഷൻ പ്രക്രിയ തുടരുക:
./alfresco-community-5.0.d-installer-linux-x64.bin Language Selection Please select the installation language [1] English - English [2] French - Français [3] Spanish - Español [4] Italian - Italiano [5] German - Deutsch [6] Japanese - 日本語 [7] Dutch - Nederlands [8] Russian - Русский [9] Simplified Chinese - 简体中文 [10] Norwegian - Norsk bokmål [11] Brazilian Portuguese - Português Brasileiro Please choose an option [1] :1
---------------------------------------------------------------------------- Welcome to the Alfresco Community Setup Wizard. ---------------------------------------------------------------------------- Installation Type [1] Easy - Installs servers with the default configuration [2] Advanced - Configures server ports and service properties.: Also choose optional components to install. Please choose an option [1] :2
---------------------------------------------------------------------------- Select the components you want to install; clear the components you do not want to install. Click Next when you are ready to continue. Java [Y/n] :y
PostgreSQL [Y/n] :y
Alfresco : Y (Cannot be edited) Solr1 [y/N] :n
Solr4 [Y/n] :y
SharePoint [Y/n] :y
Web Quick Start [y/N] :y
Google Docs Integration [Y/n] :y
LibreOffice [Y/n] :y
Is the selection above correct? [Y/n]:y
ആൽഫ്രെസ്കോ ഇൻസ്റ്റലേഷൻ വിസാർഡ് തുടരുന്നു….
---------------------------------------------------------------------------- Installation Folder Please choose a folder to install Alfresco Community Select a folder [/opt/alfresco-5.0.d]:[Press Enter key]
---------------------------------------------------------------------------- Database Server Parameters Please enter the port of your database. Database Server port [5432]:[Press Enter key]
---------------------------------------------------------------------------- Tomcat Port Configuration Please enter the Tomcat configuration parameters you wish to use. Web Server domain: [127.0.0.1]:192.168.0.15
Tomcat Server Port: [8080]:[Press Enter key
Tomcat Shutdown Port: [8005]:[Press Enter key
Tomcat SSL Port [8443]:[Press Enter key
Tomcat AJP Port: [8009]:[Press Enter key
---------------------------------------------------------------------------- Alfresco FTP Port Please choose a port number to use for the integrated Alfresco FTP server. Port: [21]:[Press Enter key
ആൽഫ്രെസ്കോ ഇൻസ്റ്റലേഷൻ തുടരുന്നു...
---------------------------------------------------------------------------- Admin Password Please give a password to use for the Alfresco administrator account. Admin Password: :[Enter a strong password for Admin user]
Repeat Password: :[Repeat the password for Admin User]
---------------------------------------------------------------------------- Alfresco SharePoint Port Please choose a port number for the SharePoint protocol. Port: [7070]:[Press Enter key]
---------------------------------------------------------------------------- Install as a service You can optionally register Alfresco Community as a service. This way it will automatically be started every time the machine is started. Install Alfresco Community as a service? [Y/n]:y
---------------------------------------------------------------------------- LibreOffice Server Port Please enter the port that the Libreoffice Server will listen to by default. LibreOffice Server Port [8100]:[Press Enter key]
----------------------------------------------------------------------------
ആൽഫ്രെസ്കോ ഇൻസ്റ്റലേഷൻ സജ്ജീകരണം തുടരുന്നു..
---------------------------------------------------------------------------- Setup is now ready to begin installing Alfresco Community on your computer. Do you want to continue? [Y/n]:y
---------------------------------------------------------------------------- Please wait while Setup installs Alfresco Community on your computer. Installing 0% ______________ 50% ______________ 100% ######################################### ---------------------------------------------------------------------------- Setup has finished installing Alfresco Community on your computer. View Readme File [Y/n]:n
Launch Alfresco Community Share [Y/n]:y
waiting for server to start.... done server started /opt/alfresco-5.0.d/postgresql/scripts/ctl.sh : postgresql started at port 5432 Using CATALINA_BASE: /opt/alfresco-5.0.d/tomcat Using CATALINA_HOME: /opt/alfresco-5.0.d/tomcat Using CATALINA_TMPDIR: /opt/alfresco-5.0.d/tomcat/temp Using JRE_HOME: /opt/alfresco-5.0.d/java Using CLASSPATH: /opt/alfresco-5.0.d/tomcat/bin/bootstrap.jar:/opt/alfresco-5.0.d/tomcat/bin/tomcat-juli.jar Using CATALINA_PID: /opt/alfresco-5.0.d/tomcat/temp/catalina.pid Tomcat started. /opt/alfresco-5.0.d/tomcat/scripts/ctl.sh : tomcat started
8. ഇൻസ്റ്റലേഷൻ പ്രക്രിയ പൂർത്തിയാകുകയും ആൽഫ്രെസ്uകോ സേവനങ്ങൾ ആരംഭിക്കുകയും ചെയ്uതതിന് ശേഷം, നിങ്ങളുടെ നെറ്റ്uവർക്കിലെ ബാഹ്യ ഹോസ്റ്റുകളെ വെബ് ആപ്ലിക്കേഷനുമായി ബന്ധിപ്പിക്കുന്നതിന് ഇനിപ്പറയുന്ന ഫയർവാൾ പോർട്ടുകൾ തുറക്കുന്നതിന് താഴെയുള്ള കമാൻഡുകൾ നൽകുക.
# firewall-cmd --add-port=8080/tcp -permanent # firewall-cmd --add-port=8443/tcp -permanent # firewall-cmd --add-port=7070/tcp -permanent # firewall-cmd --reload
ഇഷ്uടാനുസൃത ആൽഫ്രെസ്uകോ സേവനങ്ങൾ ആക്uസസ് ചെയ്യുന്നതിന് പോർട്ടുകൾ തുറക്കുന്നതിന് മറ്റ് ഫയർവാൾ നിയമങ്ങൾ ചേർക്കേണ്ടതുണ്ടെങ്കിൽ, നിങ്ങളുടെ മെഷീനിൽ പ്രവർത്തിക്കുന്ന എല്ലാ സേവനങ്ങളുടെയും ഒരു ലിസ്റ്റ് ലഭിക്കുന്നതിന് ss
കമാൻഡ് നൽകുക.
# ss -tulpn
9. ആൽഫ്രെസ്uകോ വെബ് സേവനങ്ങൾ ആക്uസസ് ചെയ്യാൻ, ഒരു ബ്രൗസർ തുറന്ന് ഇനിപ്പറയുന്ന URL-കൾ ഉപയോഗിക്കുക (അതനുസരിച്ച് IP വിലാസമോ ഡൊമെയ്uനോ മാറ്റിസ്ഥാപിക്കുക). അഡ്uമിൻ ഉപയോക്താവിനൊപ്പം ലോഗിൻ ചെയ്യുക, ഇൻസ്റ്റാളേഷൻ പ്രക്രിയയിലൂടെ അഡ്uമിനിനായി കോൺഫിഗർ ചെയ്uത പാസ്uവേഡ്.
http://IP-or-domain.tld:8080/share/
http://IP-or-domain.tld:8080/alfresco/
WebDAV-യ്uക്ക്.
http://IP-or-domain.tld:8080/alfresco/webdav
HTTPS-ന് സുരക്ഷാ ഒഴിവാക്കൽ സ്വീകരിക്കുക.
https://IP-or-domain.tld:8443/share/
മൈക്രോസോഫ്റ്റിനൊപ്പം ആൽഫ്രെസ്കോ ഷെയർപോയിന്റ് മൊഡ്യൂൾ.
http://IP-or-domain.tld:7070/
ഘട്ടം 2: ആൽഫ്രെസ്uകോയ്uക്കായി Nginx ഫ്രണ്ട്uഎൻഡ് വെബ് സെർവറായി കോൺഫിഗർ ചെയ്യുക
10. സിസ്റ്റത്തിൽ Nginx സെർവർ ഇൻസ്റ്റാൾ ചെയ്യുന്നതിനായി, താഴെ പറയുന്ന കമാൻഡ് നൽകി ആദ്യം CentOS/RHEL-ൽ Epel Repositories ചേർക്കുക:
# yum install epel-release
11. സിസ്റ്റത്തിലേക്ക് എപെൽ റിപ്പോകൾ ചേർത്ത ശേഷം ഇനിപ്പറയുന്ന കമാൻഡ് നൽകി Nginx വെബ് സെർവർ ഇൻസ്റ്റാളേഷനുമായി മുന്നോട്ട് പോകുക:
# yum install nginx [On RHEL/CentOS Systems] # apt-get install nginx [On Debian/Ubuntu Systems]
12. അടുത്ത ഘട്ടത്തിൽ ഒരു ടെക്സ്റ്റ് എഡിറ്റർ ഉപയോഗിച്ച് /etc/nginx/nginx.conf
എന്നതിൽ നിന്ന് Nginx കോൺഫിഗറേഷൻ ഫയൽ തുറന്ന് ഇനിപ്പറയുന്ന മാറ്റങ്ങൾ വരുത്തുക:
location / { proxy_pass http://127.0.0.1:8080; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; }
താഴെ പോയി, ഇനിപ്പറയുന്ന വരികൾക്ക് മുന്നിൽ # ഇട്ടുകൊണ്ട് രണ്ടാമത്തെ ലൊക്കേഷൻ സ്റ്റേറ്റ്uമെന്റിൽ നിങ്ങൾ അഭിപ്രായമുണ്ടെന്ന് ഉറപ്പാക്കുക:
#location / { # }
13. നിങ്ങൾ പൂർത്തിയാക്കിയ ശേഷം, Nginx കോൺഫിഗറേഷൻ ഫയൽ സംരക്ഷിച്ച് അടയ്ക്കുക, ഇനിപ്പറയുന്ന കമാൻഡ് നൽകിക്കൊണ്ട് മാറ്റം പ്രതിഫലിപ്പിക്കുന്നതിന് ഡെമൺ പുനരാരംഭിക്കുക:
# systemctl restart nginx.service
14. ആൽഫ്രെസ്കോ വെബ് ഇന്റർഫേസ് ആക്സസ് ചെയ്യുന്നതിന് നിങ്ങളുടെ മെഷീനിൽ പോർട്ട് 80 തുറന്ന് താഴെയുള്ള URL-ലേക്ക് നാവിഗേറ്റ് ചെയ്യുന്നതിന് ഒരു പുതിയ ഫയർവാൾ നിയമം ചേർക്കുക. കൂടാതെ, RHEL/CentOS സിസ്റ്റങ്ങളിൽ Selinux നയം പ്രവർത്തനരഹിതമാക്കിയിട്ടുണ്ടെന്ന് ഉറപ്പാക്കുക.
# firewall-cmd --add-service=http -permanent # firewall-cmd --reload # setenforce 0
സിസ്റ്റത്തിലെ സെലിനക്സ് നയം പൂർണ്ണമായും പ്രവർത്തനരഹിതമാക്കുന്നതിന്, /etc/selinux/config
ഫയൽ തുറന്ന്, SELINUX എന്ന വരി enforcing
എന്നതിൽ നിന്ന് disabled
ആയി സജ്ജമാക്കുക.
15. ഇപ്പോൾ നിങ്ങൾക്ക് Nginx വഴി ആൽഫ്രെസ്കോ ആക്സസ് ചെയ്യാൻ കഴിയും.
http://IP-or-domain.tld/share/ http://IP-or-domain.tld/alfresco/ http://IP-or-domain.tld/alfresco/webdav
15. SSL-നൊപ്പം Nginx പ്രോക്സി വഴി നിങ്ങൾക്ക് സുരക്ഷിതമായി Alfresco വെബ് ഇന്റർഫേസ് സന്ദർശിക്കണമെങ്കിൽ, /etc/nginx/ssl/
ഡയറക്uടറിയിൽ Nginx-നായി ഒരു സ്വയം ഒപ്പിട്ട സർട്ടിഫിക്കറ്റ് സൃഷ്uടിച്ച് നിങ്ങളുടെ ഇഷ്uടാനുസൃത ക്രമീകരണങ്ങൾ ഉപയോഗിച്ച് സർട്ടിഫിക്കറ്റ് പൂരിപ്പിക്കുക. ചുവടെയുള്ള സ്ക്രീൻഷോട്ടിൽ ചിത്രീകരിച്ചിരിക്കുന്നതുപോലെ:
# mkdir /etc/nginx/ssl # cd /etc/nginx/ssl/ # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout alfresco.key -out alfresco.crt
നിങ്ങളുടെ ഡൊമെയ്ൻ ഹോസ്റ്റ്നാമവുമായി പൊരുത്തപ്പെടുന്നതിന് സർട്ടിഫിക്കറ്റ് പൊതുനാമം
ശ്രദ്ധിക്കുക.
17. അടുത്തതായി, എഡിറ്റിംഗിനായി Nginx കോൺഫിഗറേഷൻ ഫയൽ തുറന്ന് അവസാനമായി അടയ്ക്കുന്ന ചുരുണ്ട ബ്രാക്കറ്റിന് (}
ചിഹ്നം) മുമ്പായി ഇനിപ്പറയുന്ന ബ്ലോക്ക് ചേർക്കുക.
# vi /etc/nginx/nginx.conf
Nginx SSL ബ്ലോക്ക് ഉദ്ധരണി:
server { listen 443; server_name _; ssl_certificate /etc/nginx/ssl/alfresco.crt; ssl_certificate_key /etc/nginx/ssl/alfresco.key; ssl on; ssl_session_cache builtin:1000 shared:SSL:10m; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4; ssl_prefer_server_ciphers on; access_log /var/log/nginx/ssl.access.log; location / { proxy_pass http://127.0.0.1:8080; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } ## This is the last curly bracket before editing the file. }
18. ഒടുവിൽ, മാറ്റങ്ങൾ പ്രയോഗിക്കാൻ Nginx ഡെമൺ പുനരാരംഭിക്കുക, 443 പോർട്ടിനായി ഒരു പുതിയ ഫയർവാൾ നിയമം ചേർക്കുക.
# systemctl restart nginx # firewall-cmd -add-service=https --permanent # firewall-cmd --reload
കൂടാതെ HTTPS പ്രോട്ടോക്കോൾ ഉപയോഗിച്ച് നിങ്ങളുടെ ഡൊമെയ്ൻ URL-ലേക്ക് ബ്രൗസറിന് നിർദ്ദേശം നൽകുക.
https://IP_or_domain.tld/share/ https://IP_or_domain.tld/alfresco/
19. Alfresco, Nginx ഡെമൺസ് സിസ്റ്റം-വൈഡ് പ്രവർത്തനക്ഷമമാക്കുന്നതിന് താഴെയുള്ള കമാൻഡ് പ്രവർത്തിപ്പിക്കുക:
# systemctl enable nginx alfresco
അത്രയേയുള്ളൂ! ആൽഫ്രെസ്കോ, ഉപയോക്താക്കൾക്ക് പരിചിതമായ വർക്ക്ഫ്ലോ നൽകിക്കൊണ്ട് സിഐഎഫ് പ്രോട്ടോക്കോൾ വഴി എംഎസ് ഓഫീസ്, ലിബ്രെ ഓഫീസ് എന്നിവയുമായി സംയോജനം വാഗ്ദാനം ചെയ്യുന്നു.