下载 tomcat8
地址: http://tomcat.apache.org/download-80.cgi
mkdir /usr/local/download
cd /usr/local/download
wget http://mirrors.hust.edu.cn/apache/tomcat/tomcat-8/v8.0.28/bin/apache-tomcat-8.0.28.tar.gz
解压 tar
mkdir /usr/local/application
tar xzvf apache-tomcat-8.0.28.tar.gz
mv apache-tomcat-8.0.28 /usr/local/application/tomcat8
文件夹赋权
chmod 777 /usr/local/application/tomcat8/bin/*.sh
运行 tomcat8
cd /usr/local/application/tomcat8/bin/
./startup.sh
停止 tomcat8
cd /usr/local/application/tomcat8/bin/
./shutdown.sh
网友评论