Linux Source Installation Tomcat7

Source: Internet
Author: User

wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-7/v7.0.81/bin/apache-tomcat-7.0.81.tar.gz

Unpacking the installation package

TAR-ZXF apache-tomcat-7.0.81.tar.gz

MV APACHE-TOMCAT-7.0.81/USR/LOCAL/TOMCAT7

Cd/usr/local/tomcat7

Start Tomcat

./bin/startup.sh

After startup, use the NETSTAT-NTLP command to see if the Tomcat port is listening.

If there is no Tomcat process, the JDK or JRE path is wrong

Modify the Tomcat port

1. Edit the Tomcat configuration file

# Vi/usr/local/tomcat7/conf/server.xml (refer to your server installation path, whichever is the case)

2, in the configuration file retrieval 8080 A total of two changes

Deactivate #/usr/local/tomcat7/bin/shutdown.sh

Enable #/usr/local/tomcat7/bin/startup.sh

After modifying the port, remember to release the port on the firewall

Linux Source Installation Tomcat7

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.