Browsing
Information
Calendar
Date
desc





/doc/Preparazione Virtual Machine per development liferay

TOC

Installazione

JDK

1) Donwload JDK 6 Update 16
2) chmod 777 jdk-6u16-linux-x64.bin
3) mv -v jdk-6u16-linux-x64.bin /opt
4) ./jdk-6u16-linux-x64.bin
5) cd /usr/local
6) ln -s /opt/jdk1.6.0_16 jdk
7) vi /etc/profile
8) added the line:

   export JAVA_HOME=/usr/local/jdk

and saved the file

9) . /etc/profile

ant

1) Dowload and from http://ant.apache.org/bindownload.cgi
2) mv -v apache-ant-1.7.1-bin.tar.gz /opt
3) tar -xvzf apache-ant-1.7.1-bin.tar.gz
4) vi /etc/profile and added the lines:

 export ANT_HOME=/usr/local/ant
 export PATH=${PATH}:${ANT_HOME}/bin

5) . /etc/profile

Mysql

1) installazione di mysql con apt-get
2) settata la variabile $MYSQL_HOME=/usr/bin/
3) creato il db lportal
4) creato l'account lportal con pwd lportal con diritti di accesso al db lportal

Tomcat

1) settata variabile $LIFERAY_PORTAL=/Liferay-Portal
2) creata la directory /Liferay-Portal
3) download tomcat all'indiritzzo

http://apache.panu.it/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.tar.gz

4) settata la variabile CATALINA_HOME=$LIFERAY_PORTAL/apache-tomcat-6.0.20

Eclipse

Add your comment