linux install tomcat

Install Tomcat8

Here, it is installed by decompressing tar.gz offline.

download:

wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-8/v8.0.33/bin/apache-tomcat-8.0.33.tar.gz

Unzip:

tar -zxvf apache-tomcat-8.0.33.tar.gz -C /opt/soft

Start Tomcat:

cd /opt/soft/apache-tomcat-8.0.33/bin/
./startup.sh

Add port 8080 to firewall exceptions and reboot

firewall-cmd --zone=public --add-port=8080/tcp --permanent firewall-cmd --reload

Guess you like

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