精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
作者 | 正文 | ||||||||||||||||||||||||||||||
发表时间:2006-11-23
http://doc.gwos.org/index.php/Install_tomcat_5.5 Versions:
Step 1 – Install JRE and SDK Use the advice here to install these packages You can verify that both items were installed corectly, by checking that you get a response when typing in terminal:
Download tomcat 5.5 from http://jakarta.apache.org/site/downloads/ In this example I am using jakarta-tomcat-5.5.9.tar.gz Uncompress the file:
Step 3 – Add tomcat Place the uncompressed package in: /usr/local/ Step 4 – Set JAVA_HOME and CLASSPATH You need to point out where you installed Java SDK. You will have to edit the file '.bashrc'. Backup this file first! In terminal type:
Save and close. You will have to log out and back in again before these changes take effect. The next steps are optional. They are for setting tomcat up to be used as a development environment. Skip to the last step ( Step 8 ) if you just want to start tomcat how it is. Step 5 – Change default port number Tomcats default port number is 8080. To change it to 80 or another number do the following. In terminal type:
Step 6 – Turn on Servlet reloading In terminal type:
Step 7 – Enable Invoker Servlet In terminal type:
Step 8 – Start tomcat Tomcat should now be ready to run. In terminal type:
To stop tomcat type:
I hope this helped! If you have any problems, I recommend this site for more details: http://www.coreservlets.com/ 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|||||||||||||||||||||||||||||||
返回顶楼 | |||||||||||||||||||||||||||||||
发表时间:2006-11-23
Install JDK:
sudo apt-get install sun-java5-jdk Change the default JDK: sudo update-alternatives --config java Install Tomcat: sudo apt-get install tomcat5 |
|||||||||||||||||||||||||||||||
返回顶楼 | |||||||||||||||||||||||||||||||
发表时间:2006-11-27
在Ubuntu 6.10的安装源里面已经有tomcat5.5.20了
|
|||||||||||||||||||||||||||||||
返回顶楼 | |||||||||||||||||||||||||||||||
发表时间:2007-06-12
装了ubuntu 7.04的tomcat ,但是无法连接啊。
看配置文件也没有错。不知道怎么才能确定服务是否已经正常运行。还有使用了什么端口。 |
|||||||||||||||||||||||||||||||
返回顶楼 | |||||||||||||||||||||||||||||||
浏览 9097 次