Wednesday, October 11, 2006

Setup Tomcat on Unix

Set Linux environment variable
User Class
Script to modify
One user
$HOME/.bash_profile
All users except root
/etc/profile
root
/root/.bash_profile


Set JAVA_HOME:
JAVA_HOME=/usr/j2se
export JAVA_HOME

Start Tomcat
gointo the install directory and than go into bin directory. ./startup.sh

access Tomcat by browser:
put hostname:port into the address form of the browser.

No comments: