First unify the environment on the three servers.
Operations on two tomcat servers
View jdk environment
# java -version openjdk version "1.8.0_65" OpenJDK Runtime Environment (build 1.8.0_65-b17) OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)
Unzip the tomcat package
# tar -xvf apache-tomcat-8.5.30.tar.gz
# mv apache-tomcat-8.5.30 tomcat_test1 Note: It is written as tomcat_test2 in the second one, in order to distinguish the two tomcats # cd tomcat_test1/ sh bin/startup.sh Using CATALINA_BASE: /data/soft/tomcat_test1 Using CATALINA_HOME: /data/soft/tomcat_test1 Using CATALINA_TMPDIR: /data/soft/tomcat_test1/temp Using JRE_HOME: /usr Using CLASSPATH: /data/soft/tomcat_test1/bin/bootstrap.jar:/data/soft/tomcat_test1/bin/tomcat-juli.jar Tomcat started.