Linux 安裝 Tomcat7
1. 先至APACHE網站下載TOMCAT7的 package.可用命令直接下載如下:
cd /usr/local/tomcat/apache-tomcat-7.0.x cd bin ./version.sh
4.啟動TOMCAT7
./startup.sh
5.網址輸入localhost:8080,如果有出現畫面即表示安裝成功
設定linux固定IP的操作步驟:http://kirby86a.pixnet.net/blog/post/98811821-centos-6.4%E5%BF%AB%E9%80%9F%E8%A8%AD%E5%AE%9A%E5%9B%BA%E5%AE%9Aip
更改連接PORT
http://ced425.pixnet.net/blog/post/27209947-%E4%BF%AE%E6%94%B9tomcat-7-port
wget http://www.eu.apache.org/dist/tomcat/tomcat-7/v7.0.52/bin/apache-tomcat-7.0.52.tar.gztomcat9的下載點如下
wget http://www.eu.apache.org/dist/tomcat/tomcat-9/v9.0.7/bin/apache-tomcat-9.0.7.tar.gz2.將檔案COPY至USR目錄下,然後解壓縮即可.
cd /usr/local mkdir tomcat cd /usr/local/tomcat cp /var/tmp/apache-tomcat-7.0.x.tar.gz . tar -xvzf apache-tomcat-7.0.x.tar.gz
mv apache-tomcat-7.0.x tomcat-7 <== 把目錄名稱改成tomcat-7
3. 檢查tomcat是否有成功
cd /usr/local/tomcat/apache-tomcat-7.0.x cd bin ./version.sh
4.啟動TOMCAT7
./startup.sh
5.網址輸入localhost:8080,如果有出現畫面即表示安裝成功
設定linux固定IP的操作步驟:http://kirby86a.pixnet.net/blog/post/98811821-centos-6.4%E5%BF%AB%E9%80%9F%E8%A8%AD%E5%AE%9A%E5%9B%BA%E5%AE%9Aip
更改連接PORT
http://ced425.pixnet.net/blog/post/27209947-%E4%BF%AE%E6%94%B9tomcat-7-port
留言
張貼留言