How to Install Alfresco Community Edition in Ubuntu
To install Alfresco Community Edition in Ubuntu
Alfresco is an open source Content Management System that allows the organizations to manage all type of contents and engineering drawings. It is widely used to provide robust content management platform with a CMIS repository. Installation of Alfresco Community Edition is discussed in this article.
Installation of Alfresco
Java is required for installing Alfresco. Add the repository to install Java package.
root@linuxhelp1:~# add-apt-repository ppa:openjdk-r/ppa More info: https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmpj0cuacf6/secring.gpg' created gpg: keyring `/tmp/tmpj0cuacf6/pubring.gpg' created gpg: requesting key 86F44E2A from hkp server keyserver.ubuntu.com gpg: /tmp/tmpj0cuacf6/trustdb.gpg: trustdb created gpg: key 86F44E2A: public key " Launchpad OpenJDK builds (all archs)" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK
Update the newly added repository with the following command.
root@linuxhelp1:~# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:2 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial InRelease [17.5 kB]
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]
Get:5 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial/main amd64 Packages [6,380 B]
Get:6 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial/main i386 Packages [6,372 B]
Get:7 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial/main Translation-en [1,528 B]
Hit:8 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 127 kB in 2s (57.1 kB/s)
Reading package lists... Done
Now install the java package version 7 which is preferable for Alfresco.
root@linuxhelp1:~# apt-get install openjdk-7-jdk -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ca-certificates-java fonts-dejavu-extra java-common libatk-wrapper-java libatk-wrapper-java-jni libbonobo2-0 libbonobo2-common
libgif7 libgnome-2-0 libgnome2-common libgnomevfs2-0 libgnomevfs2-common libice-dev liborbit-2-0 libpthread-stubs0-dev libsctp1
libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxt-dev openjdk-7-jre openjdk-7-jre-headless
x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
Suggested packages:
default-jre libbonobo2-bin desktop-base libgnomevfs2-bin libgnomevfs2-extra gamin | fam gnome-mime-data libice-doc lksctp-tools
libsm-doc libxcb-doc libxt-doc openjdk-7-demo openjdk-7-source visualvm icedtea-7-plugin icedtea-7-jre-jamvm sun-java6-fonts
fonts-ipafont-gothic fonts-ipafont-mincho ttf-wqy-microhei | ttf-wqy-zenhei fonts-indic
The following NEW packages will be installed:
ca-certificates-java fonts-dejavu-extra java-common libatk-wrapper-java libatk-wrapper-java-jni libbonobo2-0 libbonobo2-common
libgif7 libgnome-2-0 libgnome2-common libgnomevfs2-0 libgnomevfs2-common libice-dev liborbit-2-0 libpthread-stubs0-dev libsctp1
libsm-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxt-dev openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless
x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
0 upgraded, 31 newly installed, 0 to remove and 416 not upgraded.
Need to get 61.8 MB of archives.
After this operation, 108 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 libbonobo2-common all 2.32.1-3 [34.7 kB]
Get:2 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial/main amd64 openjdk-7-jre-headless amd64 7u95-2.6.4-3 [39.4 MB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 liborbit-2-0 amd64 1:2.14.19-1build1 [140 kB]
.
.
.
Adding debian:AddTrust_Public_Services_Root.pem
Adding debian:AC_Raí z_Certicá mara_S.A..pem
Adding debian:E-Tugra_Certification_Authority.pem
Adding debian:Verisign_Class_1_Public_Primary_Certification_Authority_-_G2.pem
Adding debian:certSIGN_ROOT_CA.pem
done.
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ca-certificates (20160104ubuntu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed done.
Running hooks in /etc/ca-certificates/update.d...
done.
done.
Once the Java is installed, check the version.
root@linuxhelp1:~# java -version
java version " 1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-3)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
Now its time to download the Alfresco package by using the ' wget' command.
root@linuxhelp1:~# wget -O alfresco-community-4.2.c-installer-linux-x64.bin http://dl.alfresco.com/release/community/build-04576/alfresco-community-4.2.c-installer-linux-x64.bin?dl_file=release/community/build-04576/alfresco-community-4.2.c-installer-linux-x64.bin
--2016-11-15 17:06:58-- http://dl.alfresco.com/release/community/build-04576/alfresco-community-4.2.c-installer-linux-x64.bin?dl_file=release/community/build-04576/alfresco-community-4.2.c-installer-linux-x64.bin
Resolving dl.alfresco.com (dl.alfresco.com)... 52.222.136.248, 52.222.136.37, 52.222.136.92, ...
Connecting to dl.alfresco.com (dl.alfresco.com)|52.222.136.248|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 492274634 (469M) [application/octet-stream]
Saving to: ‘ alfresco-community-4.2.c-installer-linux-x64.bin’
alfresco-community-4.2.c-installe 100%[==========================================================> ] 469.47M 835KB/s in 15m 23s
2016-11-15 17:22:22 (521 KB/s) - ‘ alfresco-community-4.2.c-installer-linux-x64.bin’ saved [492274634/492274634]
Immediately give permission to that package for execution.
root@linuxhelp1:~# chmod +x alfresco-community-4.2.c-installer-linux-x64.bin
Here you need to run the following script.
root@linuxhelp1:~# ./alfresco-community-4.2.c-installer-linux-x64.bin
(main.tcl:28266): IBUS-WARNING **: The owner of /home/user1/.config/ibus/bus is not root!
waiting for server to start..... done
server started
/opt/alfresco-4.2.c/postgresql/scripts/ctl.sh : postgresql started at port 5432
Using CATALINA_BASE: /opt/alfresco-4.2.c/tomcat
Using CATALINA_HOME: /opt/alfresco-4.2.c/tomcat
Using CATALINA_TMPDIR: /opt/alfresco-4.2.c/tomcat/temp
Using JRE_HOME: /opt/alfresco-4.2.c/java
Using CLASSPATH: /opt/alfresco-4.2.c/tomcat/bin/bootstrap.jar:/opt/alfresco-4.2.c/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/alfresco-4.2.c/tomcat/temp/catalina.pid
/opt/alfresco-4.2.c/tomcat/scripts/ctl.sh : tomcat started
To accomplish the installation process, do the following steps.
Click on Forward option.
Select installation type and click on forward option.
Select folder path for storage.
Set admin password for authentication.
Select the below given option to register Alfresco as service.
Now its time to start installing the Alfresco as shown below,
Click on Finish option.
Once the Alfresco is installed successfully, open it in the web browser with the IP address.
Login with users credentials.
You can also access Alfresco through the Unity dashboard. Have fun!!!
Comments ( 0 )
No comments available