Two tomcat 冲突
一、一般修改
路径:
/opt/apache-tomcat/conf/server.xml
1、第一个tomcat使用默认配置
![](http://upload-images.jianshu.io/upload_images/4265443-a413fc056b7a35b9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
2、第二个tomcat一般配置
![](http://upload-images.jianshu.io/upload_images/4265443-2bedbae4546bbf5c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
二、特殊修改
1、第二个tomcat特殊配置
![](http://upload-images.jianshu.io/upload_images/4265443-0988cba8a8c88909.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
![](http://upload-images.jianshu.io/upload_images/4265443-2bedbae4546bbf5c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
![](http://upload-images.jianshu.io/upload_images/4265443-37f5af67a7a507ab.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
2、启动tomcat
./apache-tomcat-8.0.22/bin/startup.sh
行走感受清淡美,快步的小风
/opt/apache-tomcat/conf/server.xml
./apache-tomcat-8.0.22/bin/startup.sh