首先apt-cache search tomcat找出和tomcat相关的包
libservlet2.3-java - Servlet 2.3 and JSP 1.2 Java classes and documentation
libservlet2.4-java - Servlet 2.4 and JSP 2.0 Java library.
libservlet2.4-java-doc - Servlet 2.4 and JSP 2.0 Java documentation
libservlet2.4-java-gcj - Servlet 2.4 and JSP 2.0 Java classes and documentation
jspwiki - WikiWikiWeb clone written in Java
libapache-mod-jk-doc - Documentation of libapache-mod-jk/libapache2-mod-jk packages
libapache2-mod-jk - Apache 2 connector for the Tomcat Java servlet engine
libtomcat5.5-java - Java Servlet engine -- core libraries
tomcat5.5 - Servlet and JSP engine
tomcat5.5-admin - Java Servlet engine -- admin & manager web interfaces
tomcat5.5-webapps - Java Servlet engine -- documentation and example web applications
webxml - Simple form-based generator/editor of Tomcat's web.xml files
然后apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
安装完后tomcat在/usr/share/tomcat5.5下, webapps在/usr/share/tomcat5.5-webapps目录下
进入/usr/share/tomcat5.5/bin/目录下,运行./catalina.sh run即可启动测试页面
阅读(1216) | 评论(0) | 转发(0) |