Install Tomcat 5.5forlinux

Source: Internet
Author: User
Install tomcat5.5forlinux-Linux Enterprise Application-Linux server application. For more information, see. 1、tomcat5.5.tar.gz http://tomcat.apache.org/download-55.cgi

2. decompress the tomcat5.5.tar.gz compressed file to/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 tomcat default port:

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"/>

Change 8080 to 80, and save the settings.

6. Run the command sh startup. sh under/tomcat5.5/bin /.

7. Run the command sh shutdown. sh under/tomcat5.5/bin /.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.