# Download Tomcat from tomcat.apache.org e.g. apache-tomcat-8.0.9.tar.gz
# Proceed to target installation directory
cd /usr/local
# Extract
tar -xzvf apache-tomcat-8.0.9.tar.gz
# Symlink shortname
ln -s apache-tomcat-8.0.9.tar.gz tomcat8
# Setup environment
vi setenv.sh
# Include CATALINA_HOME and JRE_HOME
# Add user
vi /usr/local/tomcat8/conf/tomcat-users.xml
# Include all roles (no need to create roles in the tomcat-users.xml )
# Start Tomcat
./startup.sh
# Stop Tomcat
./shutdown.sh
No comments:
Post a Comment