Tomcat7.0 在Windows7下的安裝

來源:互聯網
上載者:User

Tomcat7.0 在Windows7 64bit下的安裝


Step1:下載Tomcat7.0,

http://apache.etoak.com/tomcat/tomcat-7/v7.0.22/bin/apache-tomcat-7.0.22-windows-x64.zip

解壓到要安裝的路徑,如:

c:\apache-tomcat-7.0.22

參考 c:\apache-tomcat-7.0.22\RUNNING.txt這個,就可以把Tomcat7.0架設起來。如果不喜歡看E文,就按我下面的步驟安裝吧:


Step2:安裝 Java SE Runtime Environment (JRE)

http://www.oracle.com/technetwork/java/javase/downloads/index.html


Step3:配置下面的系統內容變數:

電腦(Computer)->屬性(Properties)->進階系統設定(Advanced system settings)->環境變數(Environment Variables)->系統變數(System variables)

具體視安裝位置而定

JAVA_HOME=C:\Program Files\Java\jdk1.6.0_21

JRE_HOME=C:\Program Files\Java\jre6

CLASSPATH=%JAVA_HOME%/bin;.;%JAVA_HOME%/lib;%JAVA_HOME%/lib/dt.jar;%JAVA_HOME%/lib/tools.jar;C:\apache-tomcat-7.0.22\lib

下面這句貌似沒意義,還是加上吧:

TOMCAT_HOME=C:\apache-tomcat-7.0.22


Step4:雙擊:C:\apache-tomcat-7.0.22\bin\startup.bat

應該啟動一個控制太視窗,這時開啟瀏覽器輸入:

http://localhost:8080

就可以看到Apache Tomcat/7.0.22和可愛的Tom大貓了。


然後參考下面的文章玩玩配置吧:

http://wxg6203.iteye.com/blog/720722



相關關鍵詞:
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.