第一步:下載Tomcat安裝包java
下載地址:https://tomcat.apache.org/download-70.cgiapache
[root@localhost ~]# wget http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-7/v7.0.82/bin/apache-tomcat-7.0.82.tar.gztomcat
第二步:解壓spa
[root@localhost ~]# tar -zxvf /usr/java/apache-tomcat-7.0.82.tar.gzblog
第三步:啓動get
進入到tomcat bin目錄中。it
輸入 ./startup.sh啓動Tomcat,假如顯示 Tomcat started 則代表啓動成功。cgi
第四步:檢查下載
訪問:http://localhost:8080/im