Install Alfresco 5.2 on Ubuntu 16.04

Posted on Sunday, January 29, 2017



This document is going to go over a simple install of Alfresco Community Edition 5.2.0 on Ubuntu 16.04.  This is going to use the binary installer that contains most of the stuff you need.

I am going to run this on an ESXi virtual machine with 8GiB of memory for this VM.





Download



 


Click on Maybe Later  (unless you want to sign up for their emails)






Right click on Linux and click on Copy Link Address  (to use for wget)


  >  wget http://eu.dl.alfresco.com.s3.amazonaws.com/release/community/201701-build-00015/alfresco-community-installer-201701-linux-x64.bin




I am going to make a special directory for the alfresco app


  >  sudo mkdir -p /10x13/apps/alfresco



First we need to install some libraries that Alfresco will need.




  > sudo add-apt-repository ppa:opencpn/opencpn
 > sudo apt-get update




  >  sudo apt-get install -y libfontconfig1 libsm6 libice6 \
libxrender1 libxt6 libcups2 opencpn libcairo2 \
ttf-mscorefonts-installer







Have to accept the license for Microsoft fonts.





Chmod and run it


  >  chmod u+x alfresco-community-installer-201701-linux-x64.bin
  > sudo ./alfresco-community-installer-201701-linux-x64.bin




You will get this warning ignore it and enter y





Language select 1




Select Advanced


For the next few choices

Java                                         – yes
PostgreSQL                            – yes
LibreOffice                             – yes
Alfresco Community Edition             - yes
Solr1                                        – no
Solr4                                        - yes
Alfresco Office Services         - yes
Web Quick Start                     – yes
Google Docs Integration        – yes






I chose to put mine in another folder (the one I made earlier)


For the next few choices use the defaults

Database Server Parameters                = port 5432
Web Server domain                            = 127.0.0.1
Tomcat Server Port                             = 8080
Tomcat Shutdown Port                       = 8005
Tomcat SSL Port                                = 8443
Tomcat AJP Port                                 = 8009
LibreOffice Server Port                      = 8100
Alfresco FTP Port                               = 21










For the admin password I put in "admin" I will switch it later.




Enter Y and install




… And one more Y





Now watch it progress



Launch it!


Warning:

It will take several minutes to get fully deployed
I like to tail the tomcat catalina.log



  > cd /10x13/apps/alfresco
  > tail -f tomcat/logs/catalina.out







Test it out


My server is running at 192.168.0.170 so I opened up http://192.168.0.170:8080/share



Log in as admin:admin







You are in.






Change the password


    


Under the administrator tab select Change Password


 



Enter a new password and click OK



References


[1]  Alfresco community download page
       Visited 1/2017
[2]  Alfresco community download page
       Visited 1/2017
[3]  How to install Alfresco Community Edition 5.1 in Ubuntu Server 14.04   
       Visited 1/2017




2 comments:

  1. Hi, do you know a guide of what to do next?
    e.g.
    how to start/stop the service.
    install a valid certificate in a compliant way so that microsoft plays nicely with alfresco
    configure the url in alfresco so that it responds as alfresco.mycompany.com

    just that few next steps to get from a local machine toy to an operational software.

    Thanks in advance


    ReplyDelete
  2. Hi,
    Thank you for your crystal clear tuto, I'am interesting about the right way to authenticat alfresco user against an Active Directory!
    so please any help from you would be grateful.
    Thanks in advance.

    ReplyDelete