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!!!