2/05/2013

Ubuntu : Install Alfresco in Ubuntu.


1. Install Ubuntu server 10.04 Or copy file ova form zimbra/it/ file Alfresco3.ova
2. Open program Virtualbox. Menu file import choose file Alfresco3.ova
3. next set ram up to 1024
4. Install mysql-server and openjdk-6-jdk
4. chmod 777 Alfresco-Community-3.2r2-Linux-x86-Install
5. Install program by use command [code=text]./Alfresco-Community-3.2r2-Linux-x86-Install [/code]
6. Y enter enter
7. import file create database into mysql.From folder install program (in folder extras/databases/mysql/db_setup.sql)
mysql -u root -p < /opt/Alfresco/extras/databases/mysql/db_setup.sql
insert password root for mysql and enter
8. ตั้งค่า ALF_HOME กับ JAVA_HOME ที่ไฟล์ alfresco.sh by use comand nano /opt/Alfresco/alfresco.sh

Once you get it started as root, you can worry about tightening security and running it as a non privileged user.
you probably have to edit your alfresco.sh file to point it at the Sun Java JDK and the root Alfresco directory"
so in that file, you will need to set these lines
replace
[code=text]ALF_HOME=@@ALFRESCO_DIR@@[/code]
with
[code=text]ALF_HOME=/opt/Alfresco[/code]
and
[code=text]export JAVA_HOME="@@JAVA_HOME@@"[/code]
with
[code=text]export JAVA_HOME="/usr/lib/jvm/java-6-openjdk”[/code]
the Sun JDK is not installed by default on most distributions so you will have to install it and point alfresco at it.

9. สั่ง start ด้วยคำสั่ง alfresco.sh start   command /opt/Alfresco/alfresco.sh start.
10.ลองเข้าใช้ที่ http://localhost:8080/share กับ http://localhost:8080/alfresco  example 192.168.0.9:8080/alfresco  แล้วก็รอ จนกว่าจะเข้าได้ นาน

No comments:

Post a Comment