I do not know if you understand the method of installing tomcat5.5 under Linux ? Recently, a user left a message to the editor saying that they want to know how to install tomcat5.5 under Linux, then let's take a look at the method of installing tomcat5.5 under Linux.
1. Download address of tomcat5.5.tar.gz http://tomcat.apache.org/download-55.cgi
2. Unzip the tomcat5.5.tar.gz compressed file under / usr, and change the folder to tomcat5.5
3. Open the profile file under / etc and add the following content to the file:
export CATALINA_HOME=/usr/tomcat5.5
4. Run the sh / etc / profile command to execute the modified configuration.
5. Set the default port of tomcat:
Open the tomcat5.5 / conf / server.xml file and find the following fields:
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
Then change 8080 to 80 and save it.
6. Start tomcat command: under /tomcat5.5/bin/, run the command sh startup.sh
7. Shut down the tomcat command: under /tomcat5.5/bin/, run the command sh shutdown.sh
The above describes how to install tomcat5.5 under Linux.