Linux部署多个Tomcat配置修改
多Tomcat部署配置修改
修改配置文件: /opt/tomcat8.5/nps-tomcat8865/conf/server.xml ,修改以下三个配置端口为未被占用端口
<Server port="8007" shutdown="SHUTDOWN">
<Connector port="8081" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<Connector port="8010" protocol="AJP/1.3" redirectPort="8443" />
通过进程名字kill进程
ps -ef | grep tomcat8081 | grep -v grep | awk '{print $2}' | xargs kill
学习是永无止境的。