How to Install Alfresco Community Edition on RHEL/CentOS 7/6 and Debian 8

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

31 Responses

  1. Moisés says:

    Using nginx with ssl after ignoring the auto-signed certificate error, alfresco does not open, says “404 Not Found” although it can open the index normally.

    Follows my configuration file: /etc/nginx/sites-availables/name-ip-ssl.conf

    ## File content ##
    
    server {
        listen 443 ssl;
        server_name 192.168.10.11;
    
           ssl_certificate     /etc/nginx/ssl/cert.crt;
           ssl_certificate_key  /etc/nginx/ssl/cert.key;
    
           ssl_session_cache    shared:SSL:1m;
           ssl_session_timeout  5m;
    
           ssl_ciphers  HIGH:!aNULL:!MD5;
           ssl_prefer_server_ciphers  on;
    
        access_log /var/log/nginx/192.168.10.11-ssl.access.log;
        error_log /var/log/nginx/192.168.10.11-ssl.error.log;
        root /srv/http;
        location / {
        index index.html index.htm index.php;
            autoindex on;
            autoindex_exact_size off;
            autoindex_localtime on;
     }
        location /phpmyadmin {
            rewrite ^/* /phpMyAdmin last;
        }
        location ~ \.php$ {
            #fastcgi_pass 127.0.0.1:9000; (depending on your php-fpm socket configuration)
            fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
            fastcgi_index index.php;
            include fastcgi.conf;
        }
    }
    
  2. Moisés says:

    Congratulations on the article.

    I’m having trouble enabling services to start automatically.

    # systemctl enable nginx alfresco 
    

    Synchronizing state of nginx.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install enable nginx
    alfresco.service is not a native service, redirecting to systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install enable alfresco
    update-rc.d: error: alfresco Default-Start contains no runlevels, aborting.

  3. Moisés says:

    Hello, Cesar,

    I followed all the setup steps listed and I’m having problems on the client side to access the alfresco page via nginx with ssl.

    I created a self signed certificate however the browsers continue to classify as “unsafe”

  4. Martin Papy says:

    On CentOS 7, you need to install cairo

    yum install cairo

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.