First of all, you have to transfer the compressed package to a folder in the Linux system, and then unzip it. Needless to say, the unzip command is needless to say, you can Baidu to various suffix unzip commands.
Remember the location after decompression, mine is the location shown below.
Find this folder in xshell and locate the bin directory, then execute ./startup.sh to
start the server.
If you want to start two servers, you must modify the port.
Open the server.xml in Notepad and modify the following content.
1、修改连接端口
<Server port="8005" shutdown="SHUTDOWN"> -- 将8005修改为9005
2、修改访问端口号
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> -- 将8080端口修改为8081端口
3、修改AJP连接端口
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" /> -- 将8009修改为9009