步骤依次为:
1.创建文件夹并拷贝原始tomcat文件夹中内容
cd /usr/local
mkdir tomcat8_8081
cp tomcat8_8080/* tomcat8_8081
2.修改tomcat8_8081/conf/server.xml中的端口号
vim tomcat8_8081/conf/server.xml
<Server port="8006" shutdown="SHUTDOWN">
<Connector port="8081" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8081" protocol="HTTP/1.1"
connect