First, the original Tomcat configuration of the machine is not changed.
Two. Download the new Tomcat decompression version, address: http://tomcat.apache.org/download-80.cgi three. After the download is complete decompression, in order to facilitate the distinction, it is best to extract the file alias (name arbitrarily)------------- Open the extracted Tomcat and make the modification------------------- 1. Find Bin/startup.bat, right-click Edit, start adding in first line set JAVA_HOME=D:\Develop\jdk1.8.0 _121 set Catalin_home=d:\software Development kit\tomcattest7 //The first one is the installation directory of my JDK. The second one is the installation directory of my Tomcat 2. Find Conf/server.xml, right click Edit, you need to modify three places: ① as shown, Modify 8005 to an unused port.
② Change the default port of 8080 to an unused port.
The 8009 in ③ is modified to an unused port. Four. Configure 3, 4 、..... N Tomcat can be done with just a repeat of the above action
Windows Next machine runs multiple tomcat