CentOS Install Tomcat

Source: Internet
Author: User

1. Download Tomcat to official website
http://tomcat.apache.org/download-80.cgi

2. Upload the tar package to the target server usr/local with the FTP tool

3. Unzip to the current directory:

TAR-XZVF apache-tomcat-8.5.8.tar.gz

4. Execute under the/apache-tomcat-8.5.8/bin directory./startup.sh start

5, verify whether the normal start
wget http://localhost:8080

6, remote Access when you need to open the firewall port 8080 to access.

7, configure the firewall, open 80 ports

Firewall-cmd--zone=public--add-port=8080/tcp--permanent

8. Restart the firewall

Firewall-cmd--reload

You can enter ip+:8080 on your computer's browser to access the

CentOS Install Tomcat

Related Article

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.