The previous article describes the installation of the JDK under CentOS, and then proceed to the previous installation configuration, this article is mainly for Tomcat installation.
First step: Download and upload the Tomcat installation package to the server.
My server is in the company, the procedure is to directly download the installation package into the USB drive, and then mount the USB stick to the server. The remote operation of the server can be directly uploaded up to operate.
Installation package: apache-tomcat-6.0.37.tar.gz
Step Two: Unpack the installation package
#tar-ZXVF apache-tomcat-6.0.37.tar.gz
#mv apache-tomcat-6.0.37/usr/tomcat Move and rename
At this point, Tomcat has been installed and will develop a good website, placed under Tomcat's WebApps
At this point, the default page of Tomcat can be accessed via ip:8080
If you cannot access it, you need to configure the firewall to allow port 8080 to be accessed normally.
Server Configuration--tomcat installation process