Tomcat 32-bit 7.0.47 The password is t8dy
The installation of Tomcat requires jdk environment, if friends who can’t install jdk ask, please click here
First upload the file to Centos6.5
Unzip tomcat
tar -zxvf apache-tomcat-7.0.47.tar.gz
Then enter the bin under Tomcat and the directory and enter the command
. /startup.sh
Check whether tomcat starts successfully
ps aux|grep tomcat
Then it starts normally
Open port 8080, so that the outside can access normally
/sbin/iptables -I INPUT -p tcp --dport 8080-j ACCEPT
/etc/rc.d/init.d/iptables save
Recommended Posts