Saturday 4 June 2011

Install Alfresco on Ubuntu 10.04 LTS

Enable the partner repository:
sudo su
vi /etc/apt/sources.lst
Uncomment the following lines:
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
update your system:
# apt-get update
# apt-get upgrade
Install the needed packages:
# apt-get install mysql-server sun-java6-jdk imagemagick openoffice.org-core openoffice.org-java-common openoffice.org-writer openoffice.org-impress openoffice.org-calc swftools
set the Java Home environment variable
vi /etc/environment
add this line at the end of the file:
JAVA_HOME="/usr/lib/jvm/java-6-sun/"
Now update the environment variables:
# source /etc/environment

Create the alfresco database:
# mysql -uroot -p

CREATE DATABASE alfresco DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
GRANT ALL PRIVILEGES ON alfresco.* TO alfresco@localhost IDENTIFIED BY 'alfresco';
GRANT SELECT,LOCK TABLES ON alfresco.* TO alfresco@localhost IDENTIFIED BY 'alfresco';
FLUSH PRIVILEGES;
quit;
Create a directory for alfresco:
# mkdir -p /opt/alfresco# cd /opt/
Download the latest alfresco release (replace the url if necessary)
# wget http://dl.alfresco.com/release/community/build-3370/alfresco-community-3.4.d-installer-linux-x32.bin
# sudo chmod +x alfresco-community-3.4.d-installer-linux-x32.bin
# ./alfresco-community-3.4.d-installer-linux-x32.bin
And follow the wizard

Then point your browser to:

http://yourserver:8080/alfresco (Alfresco DMS)
and
http://yourserver:8080/share (Alfresco Share)


Log in with user:admin e password:admin

Possibly Related Posts

2 comments:

  1. Simplesmente perfeito. 1000% sem nenhum erro, sem nenhum problema, sem dificuldade ou dúvidas Go$taria de contribuir como faço?

    ReplyDelete
  2. Fico contente por ter ajudado.
    Se quiser contribuir, existe um botão donate na barra lateral...

    Obrigado.

    ReplyDelete