Install alfresco 4.0 on ubuntu 11.04 using command line
You need to install an alfresco 4.0 version on your Ubuntu 11.04 box. This is the fresh installation guide which is based on the document from [http://docs.alfresco.com/4.0/index.jsp http://docs.alfresco.com/4.0/index.jsp installation guide].
This tutorial can be applied to most of the Linux operations such as Ubuntu, RedHat, SUSE Linux with some modification of the command line.
Contents |
Requirement software for Alfresco
- Java JDK 6 jdk
- OpenOffice
- ImageMagick
- Flash Player
- SWF tools
- TinyMCE language packs
- Alfresco Module Package
- Firefox extension
Install JDK 6
You may need to setup the jdk packages for ubuntu in the official repository.
Setup the jdk repository
root@htvlc:~#add-apt-repository ppa:ferramroberto/java root@htvlc:~#apt-get update
Install jdk
root@htvlc:~#apt-get install sun-java6-jdk
Install OpenOffice
root@htvlc:~#apt-get install openoffice.org
Install ImageMagick
root@htvlc:~#apt-get install imagemagick
Install Flash Player
- first remove all the old flash plugin
- secondly install the new flash plugin
root@htvlc:~#apt-get remove flashplugin-* --purge root@htvlc:~#apt-get install flashplugin-nonfree
Install SWF Tools
Before you install the swf tool, make sure the linux compilers and other depend packages are installed.
Install dependent packages
root@htvlc:~#apt-get install gsfonts libart-2.0-2 libc6 libfreetype6 libgcc1 libgif4 libjpeg62 libstdc++6 libt1-5 zlib1g gs-common
Install swf tools and setup repository
/etc/apt/sources.list
Add the following in the /etc/apt/sources.list
deb http://ubuntu.mirror.cambrium.nl/ubuntu/ hardy main universe
update the repository
root@htvlc:~#apt-get update
Install swf tools
root@htvlc:/home/sophal# apt-get install swftools
Install TinyMCE language packs
root@htvlc:/home/sophal# apt-get install tinymce
Download Lastest Alfresco
The current version of alfresco that I used to install is Alfresco v4. You may have a newer version. Or you visit the alfresco website at http://www.alfresco.com/try/ Download to download the alfresco.
Install Alfresco
root@htvlc:/home/sophal# ./alfresco-community-4.0.c-installer-linux-x64.bin Language Selection Please select the installation language [1] English - English [2] French - Français [3] Spanish - Español [4] Italian - Italiano [5] German - Deutsch [6] Japanese - 日本語 [7] Dutch - Nederlands Please choose an option [1] : 1 ---------------------------------------------------------------------------- Welcome to the Alfresco Community Setup Wizard. ---------------------------------------------------------------------------- Installation Type [1] Easy - Installs servers with the default configuration [2] Advanced - Configures server ports and service properties.: Also choose optional components to install. Please choose an option [1] :