{"id":12825,"date":"2019-03-28T22:48:36","date_gmt":"2019-03-28T22:48:36","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=12825"},"modified":"2019-03-28T22:48:36","modified_gmt":"2019-03-28T22:48:36","slug":"how-to-install-alfresco-community-edition-on-rhel-centos-7-6-and-debian-8","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/28\/how-to-install-alfresco-community-edition-on-rhel-centos-7-6-and-debian-8\/","title":{"rendered":"How to Install Alfresco Community Edition on RHEL\/CentOS 7\/6 and Debian 8"},"content":{"rendered":"<p><strong>Alfresco<\/strong>\u00a0is an open source ECM system (<strong>Enterprise Content Management<\/strong>) written in\u00a0<strong>Java<\/strong>\u00a0which provides electronic management, collaboration and business control.<\/p>\n<div id=\"attachment_18978\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Install-Alfresco-Community-Edition-in-Linux.png\" rel=\"attachment wp-att-18978\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18978\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Install-Alfresco-Community-Edition-in-Linux.png\" alt=\"Install Alfresco Community Edition in Linux\" width=\"720\" height=\"345\" aria-describedby=\"caption-attachment-18978\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18978\" class=\"wp-caption-text\">Install Alfresco Community Edition in Linux<\/p>\n<\/div>\n<p>This guide will cover how to install and configure\u00a0<strong>Alfresco Community Edition<\/strong>\u00a0on\u00a0<strong>RHEL\/CentOS 7\/6<\/strong>,\u00a0<strong>Debian 8<\/strong>and\u00a0<strong>Ubuntu<\/strong>\u00a0systems with\u00a0<strong>Nginx<\/strong>\u00a0server as a frontend web server for the application.<\/p>\n<h4>Requirements<\/h4>\n<p>As for the minimum system requirements, Alfresco needs a machine with at least\u00a0<strong>4 GB<\/strong>\u00a0of\u00a0<strong>RAM<\/strong>\u00a0and a 64-bit Operating System.<\/p>\n<h3>Step 1: Install Alfresco Community Edition<\/h3>\n<p><strong>1.<\/strong>\u00a0Before proceeding with Alfresco installation first assure that\u00a0<a href=\"https:\/\/www.tecmint.com\/10-wget-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">wget utility<\/a>\u00a0is installed on your machine by issuing the below command with root privileges or from root account.<\/p>\n<pre># yum install wget\r\n# apt-get install wget\r\n<\/pre>\n<div id=\"attachment_18948\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Install-Wget-in-Linux.png\" rel=\"attachment wp-att-18948\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18948\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Install-Wget-in-Linux.png\" alt=\"Install Wget in Linux\" width=\"720\" height=\"400\" aria-describedby=\"caption-attachment-18948\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18948\" class=\"wp-caption-text\">Install Wget in Linux<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<p><strong>2.<\/strong>\u00a0Next, setup your system hostname and assure that local resolution points to your server IP Address by issuing the following commands:<\/p>\n<pre># hostnamectl set-hostname server.alfresco.lan\r\n# echo \u201c192.168.0.40 server.alfresco.lan\u201d &gt;&gt; \/etc\/hosts\r\n<\/pre>\n<div id=\"attachment_18950\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Set-Hostname-in-Linux.png\" rel=\"attachment wp-att-18950\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18950\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Set-Hostname-in-Linux.png\" alt=\"Set Hostname in Linux\" width=\"720\" height=\"400\" aria-describedby=\"caption-attachment-18950\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18950\" class=\"wp-caption-text\">Set Hostname in Linux<\/p>\n<\/div>\n<p><strong>3.<\/strong>\u00a0Remove any MTA from the machine (in this case\u00a0<a href=\"https:\/\/www.tecmint.com\/setup-postfix-mail-server-and-dovecot-with-mariadb-in-centos\/\" target=\"_blank\" rel=\"noopener\">Postfix Mail server<\/a>) by issuing the below command:<\/p>\n<pre># yum remove postfix\r\n# apt-get remove postfix\r\n<\/pre>\n<div id=\"attachment_18951\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Remove-Postfix-in-Linux.png\" rel=\"attachment wp-att-18951\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18951\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Remove-Postfix-in-Linux.png\" alt=\"Remove Postfix in Linux\" width=\"537\" height=\"134\" aria-describedby=\"caption-attachment-18951\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18951\" class=\"wp-caption-text\">Remove Postfix in Linux<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0Install the following dependencies required by Alfresco software in order to run properly:<\/p>\n<pre># yum install fontconfig libSM libICE libXrender libXext cups-libs\r\n# apt-get install libice6 libsm6 libxt6 libxrender1 libfontconfig1 libcups2\r\n<\/pre>\n<div id=\"attachment_18952\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Install-Alfresco-Dependencies.png\" rel=\"attachment wp-att-18952\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18952\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Install-Alfresco-Dependencies.png\" alt=\"Install Alfresco Dependencies\" width=\"720\" height=\"400\" aria-describedby=\"caption-attachment-18952\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18952\" class=\"wp-caption-text\">Install Alfresco Dependencies<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0Next, go to\u00a0<a href=\"https:\/\/sourceforge.net\/projects\/alfresco\/files\/?source=navbar\" target=\"_blank\" rel=\"nofollow noopener\">Alfresco Community Edition<\/a>\u00a0repository page hosted on sourceforge.net portal and grab the latest binary version (i.e.\u00a0<strong>alfresco-community-5.0.d-installer-linux-x64.bin<\/strong>) for Linux using\u00a0<a href=\"https:\/\/www.tecmint.com\/10-wget-command-examples-in-linux\/\" target=\"_blank\" rel=\"noopener\">wget utility<\/a>.<\/p>\n<pre># wget http:\/\/nchc.dl.sourceforge.net\/project\/alfresco\/Alfresco%205.0.d%20Community\/alfresco-community-5.0.d-installer-linux-x64.bin<\/pre>\n<p>6. After the binary file download finishes, issue the following command in order to grant execution permissions for the file and run alfresco installer.<\/p>\n<pre># chmod +x alfresco-community-5.0.d-installer-linux-x64.bin\r\n# .\/alfresco-community-5.0.d-installer-linux-x64.bin\r\n<\/pre>\n<p><strong>7.<\/strong>\u00a0After the installation process starts, select the\u00a0<strong>language<\/strong>\u00a0and continue the installation process by using the below installation wizard as a guide to configure Alfresco:<\/p>\n<pre>[root@server ~]# .\/alfresco-community-5.0.d-installer-linux-x64.bin \r\nLanguage Selection\r\n\r\nPlease select the installation language\r\n[1] English - English\r\n[2] French - Fran\u00e7ais\r\n[3] Spanish - Espa\u00f1ol\r\n[4] Italian - Italiano\r\n[5] German - Deutsch\r\n[6] Japanese - \u65e5\u672c\u8a9e\r\n[7] Dutch - Nederlands\r\n[8] Russian - \u0420\u0443\u0441\u0441\u043a\u0438\u0439\r\n[9] Simplified Chinese - \u7b80\u4f53\u4e2d\u6587\r\n[10] Norwegian - Norsk bokm\u00e5l\r\n[11] Brazilian Portuguese - Portugu\u00eas Brasileiro\r\nPlease choose an option [1] : <code>1<\/code> ---------------------------------------------------------------------------- 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] : <code>2<\/code> ---------------------------------------------------------------------------- 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] :<code>y<\/code> PostgreSQL [Y\/n] :<code>y<\/code> Alfresco : Y (Cannot be edited) Solr1 [y\/N] : <code>n<\/code> Solr4 [Y\/n] :<code>y<\/code> SharePoint [Y\/n] :<code>y<\/code> Web Quick Start [y\/N] : <code>y<\/code> Google Docs Integration [Y\/n] :<code>y<\/code> LibreOffice [Y\/n] :<code>y<\/code> Is the selection above correct? [Y\/n]: <code>y<\/code><\/pre>\n<div id=\"attachment_18961\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Installation-of-Alfresco.png\" rel=\"attachment wp-att-18961\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18961\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Installation-of-Alfresco.png\" sizes=\"auto, (max-width: 1111px) 100vw, 1111px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Installation-of-Alfresco.png 1111w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Installation-of-Alfresco-768x702.png 768w\" alt=\"Installation of Alfresco Community Edition\" width=\"1111\" height=\"1015\" aria-describedby=\"caption-attachment-18961\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18961\" class=\"wp-caption-text\">Installation of Alfresco Community Edition<\/p>\n<\/div>\n<p>Alfresco Installation Wizard Continues\u2026.<\/p>\n<pre>----------------------------------------------------------------------------\r\nInstallation Folder\r\n\r\nPlease choose a folder to install Alfresco Community\r\n\r\nSelect a folder [\/opt\/alfresco-5.0.d]: <code>[Press Enter key]<\/code> ---------------------------------------------------------------------------- Database Server Parameters Please enter the port of your database. Database Server port [5432]: <code>[Press Enter key]<\/code> ---------------------------------------------------------------------------- Tomcat Port Configuration Please enter the Tomcat configuration parameters you wish to use. Web Server domain: [127.0.0.1]: <code>192.168.0.15<\/code> Tomcat Server Port: [8080]: <code>[Press Enter key<\/code> Tomcat Shutdown Port: [8005]: <code>[Press Enter key<\/code> Tomcat SSL Port [8443]: <code>[Press Enter key<\/code> Tomcat AJP Port: [8009]: <code>[Press Enter key<\/code> ---------------------------------------------------------------------------- Alfresco FTP Port Please choose a port number to use for the integrated Alfresco FTP server. Port: [21]: <code>[Press Enter key<\/code><\/pre>\n<div id=\"attachment_18962\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Wizard.png\" rel=\"attachment wp-att-18962\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18962\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Wizard.png\" sizes=\"auto, (max-width: 854px) 100vw, 854px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Wizard.png 854w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Wizard-768x710.png 768w\" alt=\"Alfresco Installation Wizard\" width=\"854\" height=\"789\" aria-describedby=\"caption-attachment-18962\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18962\" class=\"wp-caption-text\">Alfresco Installation Wizard<\/p>\n<\/div>\n<p>Alfresco Installation Continues\u2026<\/p>\n<pre>----------------------------------------------------------------------------\r\nAdmin Password\r\n\r\nPlease give a password to use for the Alfresco administrator account.\r\n\r\nAdmin Password: :<code>[Enter a strong password for Admin user]<\/code> Repeat Password: :<code>[Repeat the password for Admin User]<\/code> ---------------------------------------------------------------------------- Alfresco SharePoint Port Please choose a port number for the SharePoint protocol. Port: [7070]: <code>[Press Enter key]<\/code> ---------------------------------------------------------------------------- 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]: <code>y<\/code> ---------------------------------------------------------------------------- LibreOffice Server Port Please enter the port that the Libreoffice Server will listen to by default. LibreOffice Server Port [8100]: <code>[Press Enter key]<\/code> ----------------------------------------------------------------------------<\/pre>\n<div id=\"attachment_18963\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Continues.png\" rel=\"attachment wp-att-18963\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18963\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Continues.png\" sizes=\"auto, (max-width: 828px) 100vw, 828px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Continues.png 828w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Continues-768x612.png 768w\" alt=\"Alfresco Installation Continues\" width=\"828\" height=\"660\" aria-describedby=\"caption-attachment-18963\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18963\" class=\"wp-caption-text\">Alfresco Installation Continues<\/p>\n<\/div>\n<p>Alfresco Installation Setup Continues..<\/p>\n<pre>----------------------------------------------------------------------------\r\nSetup is now ready to begin installing Alfresco Community on your computer.\r\n\r\nDo you want to continue? [Y\/n]: <code>y<\/code> ---------------------------------------------------------------------------- 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]: <code>n<\/code> Launch Alfresco Community Share [Y\/n]: <code>y<\/code> waiting for server to start....[root@server ~]# 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<\/pre>\n<div id=\"attachment_18964\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Setup.png\" rel=\"attachment wp-att-18964\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18964\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Setup.png\" sizes=\"auto, (max-width: 1177px) 100vw, 1177px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Setup.png 1177w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Installation-Setup-768x446.png 768w\" alt=\"Alfresco Installation Setup\" width=\"1177\" height=\"683\" aria-describedby=\"caption-attachment-18964\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18964\" class=\"wp-caption-text\">Alfresco Installation Setup<\/p>\n<\/div>\n<p><strong>8.<\/strong>\u00a0After the installation process finishes and Alfresco services are started issue the below commands in order to open the following firewall ports to allow external hosts in your network to connect to the web application.<\/p>\n<pre># firewall-cmd --add-port=8080\/tcp -permanent\r\n# firewall-cmd --add-port=8443\/tcp -permanent\r\n# firewall-cmd --add-port=7070\/tcp -permanent\r\n# firewall-cmd --reload<\/pre>\n<p>In case you need to add other firewall rules to open ports in order to access custom Alfresco services issue the\u00a0<code>ss<\/code>\u00a0command to get a list of all the services running on your machine.<\/p>\n<pre># ss -tulpn\r\n<\/pre>\n<p><strong>9.<\/strong>\u00a0To access Alfresco web services, open a browser and use the following URLs (replace the IP Address or domain accordingly). Login with admin user and the password configured for Admin through the installation process.<\/p>\n<pre>http:\/\/IP-or-domain.tld:8080\/share\/ \r\n<\/pre>\n<div id=\"attachment_18966\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Community-Login.png\" rel=\"attachment wp-att-18966\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18966\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Community-Login.png\" sizes=\"auto, (max-width: 995px) 100vw, 995px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Community-Login.png 995w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Community-Login-768x520.png 768w\" alt=\"Alfresco Community Login\" width=\"995\" height=\"674\" aria-describedby=\"caption-attachment-18966\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18966\" class=\"wp-caption-text\">Alfresco Community Login<\/p>\n<\/div>\n<div id=\"attachment_18967\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Administrator-Dashboard.png\" rel=\"attachment wp-att-18967\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18967\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Administrator-Dashboard.png\" sizes=\"auto, (max-width: 995px) 100vw, 995px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Administrator-Dashboard.png 995w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Administrator-Dashboard-768x520.png 768w\" alt=\"Alfresco Administrator Dashboard\" width=\"995\" height=\"674\" aria-describedby=\"caption-attachment-18967\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18967\" class=\"wp-caption-text\">Alfresco Administrator Dashboard<\/p>\n<\/div>\n<pre>http:\/\/IP-or-domain.tld:8080\/alfresco\/ \r\n<\/pre>\n<div id=\"attachment_18968\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Documentation.png\" rel=\"attachment wp-att-18968\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18968\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Documentation.png\" sizes=\"auto, (max-width: 995px) 100vw, 995px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Documentation.png 995w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-Documentation-768x520.png 768w\" alt=\"Alfresco Documentation\" width=\"995\" height=\"674\" aria-describedby=\"caption-attachment-18968\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18968\" class=\"wp-caption-text\">Alfresco Documentation<\/p>\n<\/div>\n<p>For WebDAV.<\/p>\n<pre>http:\/\/IP-or-domain.tld:8080\/alfresco\/webdav \r\n<\/pre>\n<div id=\"attachment_18969\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-WebDav-Directory-Listing.png\" rel=\"attachment wp-att-18969\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18969\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-WebDav-Directory-Listing.png\" sizes=\"auto, (max-width: 995px) 100vw, 995px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-WebDav-Directory-Listing.png 995w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Alfresco-WebDav-Directory-Listing-768x520.png 768w\" alt=\"Alfresco WebDav Directory Listing\" width=\"995\" height=\"674\" aria-describedby=\"caption-attachment-18969\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18969\" class=\"wp-caption-text\">Alfresco WebDav Directory Listing<\/p>\n<\/div>\n<p>For HTTPS accept the security exception.<\/p>\n<pre>https:\/\/IP-or-domain.tld:8443\/share\/ \r\n<\/pre>\n<p>Alfresco SharePoint Module with Microsoft.<\/p>\n<pre>http:\/\/IP-or-domain.tld:7070\/\r\n<\/pre>\n<h3>Step 2: Configure Nginx as Frontend Web Server for Alfresco<\/h3>\n<p><strong>10.<\/strong>\u00a0In order to install Nginx server on the system, first add\u00a0<a href=\"https:\/\/www.tecmint.com\/how-to-enable-epel-repository-for-rhel-centos-6-5\/\" target=\"_blank\" rel=\"noopener\">Epel Repositories on CentOS\/RHEL<\/a>\u00a0by issuing the below command:<\/p>\n<pre># yum install epel-release\r\n<\/pre>\n<p><strong>11.<\/strong>\u00a0After Epel repos are added into the system proceed with Nginx web server installation by issuing the following command:<\/p>\n<pre># yum install nginx       [On <strong>RHEL\/CentOS<\/strong> Systems]\r\n# apt-get install nginx   [On <strong>Debian\/Ubuntu<\/strong> Systems]  \r\n<\/pre>\n<p><strong>12.<\/strong>\u00a0On the next step open Nginx configuration file from\u00a0<code>\/etc\/nginx\/nginx.conf<\/code>\u00a0with a text editor and make the following changes:<\/p>\n<pre>location \/ {\r\n        proxy_pass http:\/\/127.0.0.1:8080;\r\n        proxy_redirect off;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n    }\r\n<\/pre>\n<div id=\"attachment_18970\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Configure-Nginx-for-Alfresco.png\" rel=\"attachment wp-att-18970\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18970\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Configure-Nginx-for-Alfresco.png\" alt=\"Configure Nginx for Alfresco\" width=\"710\" height=\"647\" aria-describedby=\"caption-attachment-18970\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18970\" class=\"wp-caption-text\">Configure Nginx for Alfresco<\/p>\n<\/div>\n<p>Go below and make sure you comment the second location statement by placing a # in front of the following lines:<\/p>\n<pre>#location \/ {\r\n#        }\r\n<\/pre>\n<p><strong>13.<\/strong>\u00a0After you\u2019re done, save and close Nginx configuration file and restart daemon to reflect change by issuing the following command:<\/p>\n<pre># systemctl restart nginx.service\r\n<\/pre>\n<p><strong>14.<\/strong>\u00a0In order to access Alfresco web interface add a new firewall rule to open port 80 on your machine and navigate to the below URL. Also, make sure Selinux policy is disabled on\u00a0<strong>RHEL\/CentOS<\/strong>\u00a0systems.<\/p>\n<pre># firewall-cmd --add-service=http -permanent\r\n# firewall-cmd --reload\r\n# setenforce 0\r\n<\/pre>\n<p>To completely disable Selinux policy on the system, open\u00a0<code>\/etc\/selinux\/config<\/code>\u00a0file and set the line SELINUX from\u00a0<code>enforcing<\/code>\u00a0to\u00a0<code>disabled<\/code>.<\/p>\n<p><strong>15.<\/strong>\u00a0Now you can access Alfresco through Nginx.<\/p>\n<pre> http:\/\/IP-or-domain.tld\/share\/ \r\n http:\/\/IP-or-domain.tld\/alfresco\/\r\n http:\/\/IP-or-domain.tld\/alfresco\/webdav \r\n<\/pre>\n<p><strong>15.<\/strong>\u00a0In case you want to securely visit Alfresco web interface through Nginx proxy with SSL,\u00a0<a href=\"https:\/\/www.tecmint.com\/create-virtual-hosts-using-nginx-on-arch-linux\/\" target=\"_blank\" rel=\"noopener\">create a Self-Signed Certificate for Nginx<\/a>\u00a0on\u00a0<code>\/etc\/nginx\/ssl\/<\/code>\u00a0directory and fill the certificate with your custom settings as illustrated on below screenshot:<\/p>\n<pre># mkdir \/etc\/nginx\/ssl\r\n# cd \/etc\/nginx\/ssl\/\r\n# openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout alfresco.key -out alfresco.crt\r\n<\/pre>\n<div id=\"attachment_18971\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Create-SSL-Certificate-for-Alfresco.png\" rel=\"attachment wp-att-18971\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18971\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Create-SSL-Certificate-for-Alfresco.png\" sizes=\"auto, (max-width: 908px) 100vw, 908px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Create-SSL-Certificate-for-Alfresco.png 908w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Create-SSL-Certificate-for-Alfresco-768x398.png 768w\" alt=\"Create SSL Certificate for Alfresco\" width=\"908\" height=\"470\" aria-describedby=\"caption-attachment-18971\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18971\" class=\"wp-caption-text\">Create SSL Certificate for Alfresco<\/p>\n<\/div>\n<p>Pay attention to\u00a0<code>Certificate Common Name<\/code>\u00a0to match your domain hostname.<\/p>\n<p><strong>17.<\/strong>\u00a0Next, open Nginx configuration file for editing and add the following block before the last closing curly bracket (the\u00a0<code>}<\/code>\u00a0symbol).<\/p>\n<pre># vi \/etc\/nginx\/nginx.conf\r\n<\/pre>\n<p>Nginx SSL block excerpt:<\/p>\n<pre>server {\r\n    listen 443;\r\n    server_name _;\r\n\r\n    ssl_certificate           \/etc\/nginx\/ssl\/alfresco.crt;\r\n    ssl_certificate_key       \/etc\/nginx\/ssl\/alfresco.key;\r\n\r\n    ssl on;\r\n    ssl_session_cache  builtin:1000  shared:SSL:10m;\r\n    ssl_protocols  TLSv1 TLSv1.1 TLSv1.2;\r\n    ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;\r\n    ssl_prefer_server_ciphers on;\r\n\r\n    access_log            \/var\/log\/nginx\/ssl.access.log;\r\n\r\n      location \/ {\r\n        proxy_pass http:\/\/127.0.0.1:8080;\r\n        proxy_redirect off;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Real-IP $remote_addr;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header X-Forwarded-Proto $scheme;\r\n    }\r\n## This is the last curly bracket before editing the file. \r\n  }\r\n<\/pre>\n<div id=\"attachment_18972\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Nginx-SSL-Configuration-for-Alfresco.png\" rel=\"attachment wp-att-18972\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18972\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Nginx-SSL-Configuration-for-Alfresco.png\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Nginx-SSL-Configuration-for-Alfresco.png 831w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Nginx-SSL-Configuration-for-Alfresco-768x572.png 768w\" alt=\"Nginx SSL Configuration for Alfresco\" width=\"831\" height=\"619\" aria-describedby=\"caption-attachment-18972\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18972\" class=\"wp-caption-text\">Nginx SSL Configuration for Alfresco<\/p>\n<\/div>\n<p><strong>18.<\/strong>\u00a0Finally, restart Nginx daemon to apply changes, add a new firewall rule for 443 port.<\/p>\n<pre># systemctl restart nginx\r\n# firewall-cmd -add-service=https --permanent\r\n# firewall-cmd --reload\r\n<\/pre>\n<p>and instruct the browser to your domain URL using the HTTPS protocol.<\/p>\n<pre>https:\/\/IP_or_domain.tld\/share\/\r\nhttps:\/\/IP_or_domain.tld\/alfresco\/\r\n<\/pre>\n<div id=\"attachment_18974\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Configure-Alfresco-as-Domain.png\" rel=\"attachment wp-att-18974\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-18974\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Configure-Alfresco-as-Domain.png\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Configure-Alfresco-as-Domain.png 779w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2016\/02\/Configure-Alfresco-as-Domain-768x493.png 768w\" alt=\"Configure Alfresco as Domain\" width=\"779\" height=\"500\" aria-describedby=\"caption-attachment-18974\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-18974\" class=\"wp-caption-text\">Configure Alfresco as Domain<\/p>\n<\/div>\n<p><strong>19.<\/strong>\u00a0In order to enable Alfresco and Nginx daemons system-wide run the below command:<\/p>\n<pre># systemctl enable nginx alfresco\r\n<\/pre>\n<p>That\u2019s all! Alfresco offers integration with\u00a0<strong>MS Office<\/strong>\u00a0and\u00a0<strong>LibreOffice<\/strong>\u00a0via CIFs protocol providing a familiar workflow for users.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/install-alfresco-community-edition-on-centos-debian-ubuntu\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Alfresco\u00a0is an open source ECM system (Enterprise Content Management) written in\u00a0Java\u00a0which provides electronic management, collaboration and business control. Install Alfresco Community Edition in Linux This guide will cover how to install and configure\u00a0Alfresco Community Edition\u00a0on\u00a0RHEL\/CentOS 7\/6,\u00a0Debian 8and\u00a0Ubuntu\u00a0systems with\u00a0Nginx\u00a0server as a frontend web server for the application. Requirements As for the minimum system requirements, Alfresco needs &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/28\/how-to-install-alfresco-community-edition-on-rhel-centos-7-6-and-debian-8\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Install Alfresco Community Edition on RHEL\/CentOS 7\/6 and Debian 8&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12825","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=12825"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12825\/revisions"}],"predecessor-version":[{"id":12826,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12825\/revisions\/12826"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=12825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=12825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=12825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}