Centos 5.5 to build Tomcat 7.0

Source: Internet
Author: User
Tags centos iptables tomcat

The new week began, today to build a tomcat, just do a simple build, and did not go to use the functions of which, this and other needs in the study.

1, Tomcat source paper download address:

http://tomcat.apache.org/download-70.cgi?Preferred=http%3A%2F%2Flabs.mop.com%2Fapache-mirror%

2, JDK download address: 2fhttp://www.oracle.com/technetwork/java/javase/downloads/ JDK-7U3-DOWNLOAD-1501626.HTMLJDK source Package, is a Java environment of a source code package, before installing Tomcat, you must first install the JDK. Jdkjdk the extracted directory to the/usr/local/, and renamed the directory Java) JDK environment variables Java Success Java version information is successful, the following figure

Third, install Tomcat

Move the extracted directory under/usr/local/and rename the directory to Tomcat tomcat8080 and 8009 ports are started

Finally, take note of Iptables and SELinux.

Iptables Purge rule Delete rule save http://IP:8080

Success!!!

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.