liferay tomcat setup on ubuntu linux

Open terminal : CTRL+ALT+T

1. run on terminal:
2. sudo nano /etc/profile

3. add these line :

export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/
export LIFERAY_HOME=/usr/local/liferay-portal-6.0.6/tomcat-6.0.29
export PATH=$JAVA_HOME/bin:$LIFERAY_HOME/bin:$PATH

replace this by your jdk, liferay path .

4. allow execution for all files location in $LIFERAY_HOME/bin

cd $LIFERAY_HOME/bin
chmod +x *.sh

5. logout and relogin

6. cd $LIFERAY_HOME/bin
./startup.sh

Comments

Popular posts from this blog

Spring Security ACL