(10) Directly copy tomcat packages of other systems

The most convenient way is to directly copy the tomcat package of other systems to use

1. Upload tomcat_20171101.tar.gz to the /usr/local directory of the server

2. Use the following command to unpack and tomcat is deployed

gzip -cd tomcat_20171101.tar.gz | tar -xvf –

3. Start tomcat and check if the startup is successful

cd /usr/local/tomcat/bin/

./startup.sh

Note: Shut down the tomcat command: ./shutdown.sh


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325480588&siteId=291194637