How to install Alfresco Community Edition 5.1 in Ubuntu Server 14.04

Published on May 7, 2016 by Daniel Lanza

 ubuntu  alfresco

This tutorial will explain how to install Alfresco Community Edition 5.1 in Ubuntu Server 14.04. In this example, Ubuntu Server is a virtual machine made by VirtualBox.

Requirements

Check out how to install Ubuntu Server on VirtualBox to get ready a virtual machine to install Alfresco Community Edition.

Make directories for installation and application

Make two directories:

Change permissions for the directories.

sudo chmod 777 /opt/alfsource
sudo chmod 777 /opt/alfresco

Upload, for instance by sFTP, the binary file alfresco-community-installer-201604-linux-x64.bin to /opt/alfsource directory.

Upload Alfresco binary file
Upload Alfresco binary file

And change permissions for the binary file.

$ chmod 777 /opt/alfsource/alfresco-community-installer-201604-linux-x64.bin

Libraries for LibreOffice

If you run the installer, you will get a warning about libraries needed for LibreOffice.

In order to make work LibreOffice you need some libraries installed on your system:

Install the libraries running the following command:

sudo apt-get install libfontconfig1 libsm6 libice6 libxrender1 libxt6 libcups2

Alfresco installation

Run the installation. Hence, go to the installation folder and run the binary file.

cd /opt/alfsource
sudo ./alfresco-community-installer-201604-linux-x64.bin

You will still get the warning when running the installation. Ignore it and continue.

Libraries needed for LibreOffice
Libraries needed for LibreOffice

You can install in 2 ways:

Use [2] to change some installation options. In this tutorial, we will set the installation path and Web Server domain:

This is the installation configuration:

And then,

Installation type and Components
Installation type and Components
Installation type and Components
Installation type and Components
LibreOffice and Alfresco Ports
LibreOffice and Alfresco Ports

The installation will have already started, and you will see a progress bar.

Installation progress bar
Installation progress bar

When the installation is completed, you can launch Alfresco Community Edition.

Launch Alfresco
Launch Alfresco

Alfresco will be launched in Tomcat. So, go to your Web Server domain and check the installation.

Go to Tomcat index page for Alfresco -> http://192.168.56.101:8080

Tomcat index page for Alfresco
Tomcat index page for Alfresco
Alfresco Repository
Alfresco Repository

Congratulations!! Alfresco Community Edition is installed in Ubuntu Server.

Let’s check if Alfresco is running properly.

cd /opt/alfresco
.alfresco.sh status

If either Tomcat or PostgreSQL is not running, start the services with alfresco.sh script.

cd /opt/alfresco
.alfresco.sh start

Let’s log in Alfresco. Go to share page (http://192.168.56.101:8080/share) with:

Alfresco Community Edition
Alfresco Community Edition

You are in! Enjoy Alfresco 😃

comments powered by Disqus

See also

How to connect to your MySQL database remotely

This tutorial will explain how to connect remotely to MySQL database. In this example, MySQL server is installed in Ubuntu Server virtual machine with VirtualBox. Requirements Ubuntu Server virtual machine with MySQL: Two network adapters: NAT adapter (eth0) Host-only adapter (eth1) with a static IP address -> 192.168.56.101. Database name: mybb MySQL client: Toad World Expose MySQL server To expose MySQL to anything other than localhost you will have to expose the IP address.

Read more

Install MyBB on Ubuntu Server

This tutorial will explain how to install MyBB in Ubuntu Server. Requirements A Ubuntu Server virtual machine with: MySQL Apache FTP Samba Check out these posts to get ready: How to install Ubuntu Server on VirtualBox Setting up a Virtual Web Server with VirtualBox, Apache, MySQL, FTP, Ubuntu, and Samba Our virtual machine has two network adapters. The second one (eth1) is a host-only adapter with a static IP address -> 192.

Read more

Setting up a Virtual Web Server with VirtualBox, Apache, MySQL, FTP, Ubuntu, and Samba

This tutorial will explain how to set up a Ubuntu Server virtual machine with: Apache FTP Samba First, check out how to install Ubuntu Server on VirtualBox to get ready a virtual machine to test. Our virtual machine has two network adapters. The second one (eth1) is a host-only adapter with a static IP address -> 192.168.56.101 Apache Web Server Apache Web Server needs to be running. The installation and configuration was indicated in the previous post.

Read more