1. 程式人生 > >tomcat的安裝及配置

tomcat的安裝及配置

targe star 出現 必須 width height img .bat com

1.首先進tomcat官網下載zip壓縮文件:http://tomcat.apache.org/download-90.cgi

2.解壓縮到指定文件壓(後面配置環境變量會用到)

3.配置環境變量

技術分享

4.打開解壓後文件中的bin文件夾,運行startup.bat

技術分享

如上圖結果則配置成功

5.打開瀏覽器:輸入http:\\localhost:8080

技術分享

出現如上圖,則徹底成功啦

註意:在瀏覽器輸入http://localhost:8080前,必須先啟動Tomcat服務器,即必須先啟動\Tomcat 6.0\bin文件下的startup.bat程序,而且不能關閉該程序,否則打不開頁面的!!

tomcat的安裝及配置