1、shoudowm.bat\startup.bat\catalina.bat,

  将CATALINA_HOME修改为CATALINA_HOME_2

2、server.xml

  <Server port="8015" shutdown="SHUTDOWN"> --8005改为8015

  <Connector port="8090" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />--8080改为8090

  <Connector port="8019" protocol="AJP/1.3" redirectPort="8443" />--8009改为8019

3、nginx配置

启动两个tomcat服务,以及使用nginx代理实现访问-LMLPHP

05-11 19:45