Tuesday, September 4, 2012

Howto install Alfresco 4, the Community edition on Centos 6

Alfresco provides some very interesting functions. This includes support for networking with CIFS, WebDav and IMAP.

See https://www.alfresco.com/products/platform

Check following have been done.
  1. Linux must be 64bit. Why? they only provided Alfresco for Linux on 64 bits, thats why.
  2. Install LibreOffice (yum install libreoffice libreoffice-headless), version was installed
  3. Install MySQL (yum install mysql-server), in my case version 5.1.61 was installed.

Following are steps that I have taken to install Alfresco 4 on Centos 6.

Step 1. Create the database
At the CLI, login to MySQL and create database named "alfresco"

# mysql -u root -p

Step 2. Start LibreOffice as headless

soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" \
 -nologo -headless

Step 3. Get the software and install

Download from http://wiki.alfresco.com/wiki/Download_and_Install_Alfresco
Double click on the file alfresco-community....bin and follow the onscreen instructions.

I choose the "Easy" method, and included the "Share"

Alternatively, installation can be done at the Linux CLI, just switch to root user, go to the directory where the file was downloaded and type
# ./alfresco-community-4.0.x-installer-linux-x64.bin ---mode text

Step 4. Start Alfresco, based on the Tomcat server port of 8080.
Alfresco started automatically, but is needed, got the the /opt/alfresco folder and type
alfresco.sh start

Access the application with a web browser and the following URLs/

and http://localhost:8080/share

No comments:

Blog Archive