1) Download apache-tomcat-6.0.10.tar.gz
2) #tar-ZXVF apache-tomcat-6.0.10.tar.gz;//Unzip
3) #cp-R apache-tomcat-6.0.10/usr/local/tomcat;//Copy apache-tomcat-6.0.10 to/usr/local/and rename to Tomcat
4)/usr/local/tomcat/bin/startup.sh;//Start Tomcat
Display Using catalina_base:/usr/local/tomcat
Using Catalina_home:/usr/local/tomcat
Using Catalina_temdir:/usr/local/tomcat/temp
Using Java_home:/usr/java/jdk1.6.0_01
To this tomcat has been installed, now using the browser to access http://localhost:8080, the Tomcat default page appears, indicating that the installation was successful.
The second Tomcat ibid, additional modifications server.xml the next few ports:
<server port= "8005" shutdown= "Shutdown" >
<connector port= "8080" protocol= "http/1.1"
<connector port= "8009" protocol= "ajp/1.3" redirectport= "8443"/>
Server installation of 2 tomcat