Set up tomcat at CentOS with Apache
Tomcat Download & Install
at first, download tomcat refer this site, http://tomcat.apache.org/download-70.cgi.
# wget http://apache.mirror.cdnetworks.com/tomcat/tomcat-7/v7.0.37/bin/apache-tomcat-7.0.37.tar.gz
# tar xvfz apache-tomcat-7.0.37.tar.gz
# mv apache-tomcat-7.0.37 /usr/local/tomcat
and make 'init.d/tomcat' file
#vi /etc/rc.d/init.d/tomcat
insert below.
#!/bin/bash
# description: Tomcat Start Stop Restart
# processname: tomcat
# chkconfig: 234 20 80
export JAVA_HOME=/usr/java/jdk1.6.0_35
export ...