标签:apach apache tcp nbsp iptable tar shutdown 图片 str
mkdir -p /usr/local/tomcat
tar -zxvf apache-tomcat-7.0.57.tar.gz -C /usr/local/tomcat
开放8080端口 /sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT 保存配置 /etc/rc.d/init.d/iptables save
启动tomcat 执行 /usr/local/tomcat/apache-tomcat-7.0.57/bin/startup.sh 关闭tomcat 执行 /usr/local/tomcat/apache-tomcat-7.0.57/bin/shutdown.sh
访问:
标签:apach apache tcp nbsp iptable tar shutdown 图片 str
原文地址:https://www.cnblogs.com/luzhanshi/p/13358319.html