Installation Environment: CentOS-6.5
Installation method: Source Installation
Software: apache-tomcat-8.0.0.rc3.tar.gz
: http://tomcat.apache.org/download-80.cgi
Installation Prerequisites
The system must have the configuration jdk6+ installed, please refer to: http://www.linuxidc.com/Linux/2014-10/108066.htm.
Installing Tomcat
Upload the apache-tomcat-8.0.0.rc3.tar.gz file to the/usr/local to do the following:
The code is as follows:
[Email protected] ~]# cd/usr/local
[[email protected] ~]# tar-zxv-f apache-tomcat-8.0.0.rc3.tar.gz//Decompression Pack
[[email protected] ~]# RM-RF apache-tomcat-8.0.0.rc3.tar.gz//Delete compressed package
[Email protected] ~]# MV APACHE-TOMCAT-8.0.0.RC3 Tomcat
Organized by hundred Bull Information Technology Bainiu.ltd in the blog park
Start Tomcat
Perform the following actions:
[[email protected] ~]#/usr/local/tomcat/bin/startup.sh//Start Tomcat
Using catalina_base:/usr/local/tomcat
Using Catalina_home:/usr/local/tomcat
Using Catalina_tmpdir:/usr/local/tomcat/temp
Using Jre_home:/usr/java/jdk1.7.0_45/jre
Using CLASSPATH:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
The above information indicates that the message has been successfully started.
Firewall Open 8080 Port
Add 8080 ports to the firewall configuration and do the following:
[Email protected] ~]/sbin/iptables-i input-p TCP--dport 8080-j ACCEPT #开启8080端口
[Email protected] ~]/etc/rc.d/init.d/iptables save #保存配置
[Email protected] ~]/etc/rc.d/init.d/iptables Restart #重启防火墙
Check Tomcat installation Run
See if Tomcat is working properly with the following address:
http://192.168.10.138:8080/
See the Tomcat system interface to show that the installation was successful!
Stop Tomcat
[[email protected] ~]#/usr/local/tomcat/bin/shutdown.sh//Stop Tomcat
Deploy SOLR 4 http://www.linuxidc.com/Linux/2012-09/71158.htm via Tomcat on Ubuntu 12.04 LTS
Deploy SOLR (4.4) to Tomcat under Ubuntu (7.0.53) http://www.linuxidc.com/Linux/2014-05/101443.htm
Linux under Apache and multiple Tomcat cluster load balancer http://www.linuxidc.com/Linux/2012-01/51731.htm
Nginx Tomcat Cluster Load Balancing solution Note http://www.linuxidc.com/Linux/2013-07/86827.htm
Example of the Tomcat component installation +nginx reverse proxy tomcat+apache using MOD_JK and mod_proxy reverse proxy and load balancing http://www.linuxidc.com/Linux/2013-06/85290.htm
Deploy the log server with Rsyslog+loganalyzer+mysql under CentOS 6.5 http://www.linuxidc.com/Linux/2014-06/103836.htm
APACHE+TOMCAT Environment Construction (JK deployment process) http://www.linuxidc.com/Linux/2012-11/74474.htm
a detailed description of Tomcat : please click here
Tomcat : please click here.
Linux CentOS 6.5 Installation and configuration Tomcat-8 method