Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Methods of deploying multiple programs under the next tomcat of centos6.5

Shulou Source: shulou.com Published: 2022-06-03 05:11:04 11月13日 Update

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

Tags: Services multiple name place port project method program different following figure two that is slogan name server red path part configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information NVidia Redmi Xiaomi