Linux下組建J2EE環境(四) 安裝Tomcat

來源:互聯網
上載者:User

環境:VirtualBox4.1 + RedHat Linux 6

a.  下載Tomcat for Linux

下載地址:

Apache Tomcat 6:http://tomcat.apache.org/download-60.cgi

Apache Tomcat 7:http://tomcat.apache.org/download-70.cgi

b.   製作包含 Tomcat安裝包的ISO檔案(推薦使用WinISO,操作方便),如mypackage.iso,把mypackage.iso掛載到 Linux作業系統上,或者使用VirtualBox的增強功能,實現虛擬機器和宿主機的檔案分享權限設定;

在 VirtualBox做好配置(在根目錄) monut /mnt/cdrom(掛載光碟機,位置任選)

c.  把安裝 檔案拷貝到 /home cp 檔案 /home

d.   運行檔案tar –zxvf  ??? .tar.gz (注:???表示安裝檔案的名字,如apache-tomcat-6.0.35)

現在J2EE的環境安裝配置完成,不 妨建立一個Web工程,體驗一下在Linux下進行開發的快樂吧!

聯繫我們

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