1.tomcat8下载
https://tomcat.apache.org/download-80.cgi
2.tomcat8安装
(1)将tomcat jar上传到usr/local目录
(2)解压tomcat压缩包
[root@iZ2ze7vthdl3oh0n0hzlu7Z local]# tar -zxvf apache-tomcat-8.5.58.tar.gz
(3)删除tomcat压缩包
[root@iZ2ze7vthdl3oh0n0hzlu7Z local]# rm -f apache-tomcat-8.5.58.tar.gz
(3)ll 查看文件
(4)重命名为tomcat
[root@iZ2ze7vthdl3oh0n0hzlu7Z local]# mv apache-tomcat-8.5.58 tomcat
(5)启动tomcat
[root@iZ2ze7vthdl3oh0n0hzlu7Z local]# cd tomcat/bin
[root@iZ2ze7vthdl3oh0n0hzlu7Z bin]# sh startup.sh
(6)关闭tomcat
[root@iZ2ze7vthdl3oh0n0hzlu7Z bin]# sh shutdown.sh
(7)查看tomcat启动
[root@iZ2ze7vthdl3oh0n0hzlu7Z bin]# ps -ef | grep tomcat
(8)关闭tomcat进程
kill -9 程信号,上方红框处为进程号
[root@iZ2ze7vthdl3oh0n0hzlu7Z bin]# kill -9 24513