1. Go to the official apache to download the tomcat server software. The version is apache-tomcat-7.0.67.tar.gz Download address: http://tomcat.apache.org/download-70.cgi
2. Copy the files to the /usr/java directory
3. Unzip the file: tar zxvf apache-tomcat-7.0.5.tar.gz
4. Start the tomcat service: enter the tomcat7/bin folder and enter ./startup.sh
5. Enter in the browser: Enter in the browser: http://localhost:8080
Boot from the total boot configuration:
Add the following configuration to the /etc/init.d/rc.local file:
export JAVA_HOME=/usr/java/jdk1.7.0_60
/usr/local/tomcat/bin/startup.sh start
Description: /usr/java/jdk1.7.0_60 is the jdk installation directory
/usr/local/tomcat is the tomcat installation directory