Methods of deploying multiple programs under the next tomcat of centos6.5
When you encounter such a project today, if you want to deploy more than two projects on the same server, you need to deploy multiple programs under a tomcat, that is, a tomcat, which can be distinguished according to different ports. Take this as an example.
The methods are as follows:
After decompressing tomcat, go to the tomcat path and edit conf/server.xml
Open it with vim
-- above is the default port 8080 configuration--
-- the red part is the place to be modified--
-Service name
-Service name
The place to copy is from service to service! The following figure