Centos下安裝Tomcat

來源:互聯網
上載者:User

標籤:

在安裝Tomcat的前提是:安裝jdk.

這裡就不詳細說明了,如果不懂安裝jdk,那麼請參考:

http://blog.csdn.net/u012965373/article/details/42181377

接下來是安裝Tomcat的情況,這裡我的是centos6.5伺服器版本,

首先去下載tomcat包,在tomcat官網,

然後放到伺服器共用的檔案夾下。

然後cp /usr/share/tomcat.tar.gz /usr   (我的共用資料夾是/usr/shair)

然後接下來

     #tar -zxvf apache-tomcat-6.0.10.tar.gz ;       //解壓

  3)拷貝apache-tomcat-6.0.10到/usr/local/下並重新命名為tomcat

  [[email protected] bin]#cp -R apache-tomcat-6.0.10 /usr/local/tomcat ;

  4)啟動tomcat

  [[email protected] bin]#/usr/local/tomcat/bin/startup.sh
  Using CATALINA_BASE:   /usr/local/tomcat
  Using CATALINA_HOME:   /usr/local/tomcat
  Using CATALINA_TMPDIR: /usr/local/tomcat/temp
  Using JRE_HOME:        /usr/local/jdk/jdk1.6.0_17
  Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar
  [[email protected] bin]#

  到此tomcat已經安裝完成



Centos下安裝Tomcat

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.