ubuntu14.04 64位 安装Tomcat
1 下载Tomcat
在htt://www.tomcat.apache.org官网上下载apache-tomcat-7.0.57.tar.gz
2 解压Tomcat
youhaidong@youhaidong:~$ cd 下载
youhaidong@youhaidong:~$
youhaidong@youhaidong:~/下载$ tar -zxvf apache-tomcat-7.0.57.tar.gz
apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/cal/Entries.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/cal/Entries.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/cal/Entry.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/cal/Entry.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/cal/JspCalendar.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/cal/JspCalendar.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/cal/TableBean.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/cal/TableBean.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/chat/ChatServlet$MessageSender.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/chat/ChatServlet.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/chat/ChatServlet.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/checkbox/CheckTest.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/checkbox/CheckTest.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/colors/ColorGameBean.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilter.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/dates/JspCalendar.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/dates/JspCalendar.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/error/Smart.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/error/Smart.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/FooTag.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/FooTag.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/LogTag.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/LogTag.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/ShowSource.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/ShowSource.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/ValuesTag.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/examples/ValuesTag.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/filters/ExampleFilter.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/BookBean.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/FooBean.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/ValuesBean.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/ValuesBean.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/el/Functions.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/listeners/ContextListener.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/listeners/ContextListener.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/listeners/SessionListener.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/listeners/SessionListener.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/num/NumberGuessBean.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/num/NumberGuessBean.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/sessions/DummyCart.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/sessions/DummyCart.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/util/CookieFilter.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/util/CookieFilter.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/util/HTMLFilter.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/util/HTMLFilter.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/validators/DebugValidator.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/validators/DebugValidator.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/ExamplesConfig.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/ExamplesConfig.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/chat/ChatAnnotation.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/chat/ChatAnnotation.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/Client$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/Client.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage$ParseException.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawMessage.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardContextListener.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$2.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint$3.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/DrawboardEndpoint.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$2.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$MessageType.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/Room$Player.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/Room.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/Room.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/AbstractWebsocketMessage.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/AbstractWebsocketMessage.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/BinaryWebsocketMessage.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/BinaryWebsocketMessage.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/CloseWebsocketMessage.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/CloseWebsocketMessage.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/StringWebsocketMessage.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/drawboard/wsmessages/StringWebsocketMessage.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/echo/EchoAnnotation.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/echo/EchoAnnotation.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint$EchoMessageHandler.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/echo/EchoEndpoint.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/Direction.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/Direction.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/Location$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/Location.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/Location.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/Snake.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/Snake.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/SnakeAnnotation.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/snake/SnakeTimer.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/chat/ChatWebSocketServlet$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/chat/ChatWebSocketServlet$ChatMessageInbound.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/chat/ChatWebSocketServlet.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/chat/ChatWebSocketServlet.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoMessage$EchoMessageInbound.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoMessage.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoMessage.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoStream$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoStream$EchoStreamInbound.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoStream.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/echo/EchoStream.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Direction.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Direction.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Location$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Location.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Location.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Snake.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/Snake.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/SnakeWebSocketServlet$1.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/SnakeWebSocketServlet$SnakeMessageInbound.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/SnakeWebSocketServlet.class apache-tomcat-7.0.57/webapps/examples/WEB-INF/classes/websocket/tc7/snake/SnakeWebSocketServlet.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/jsp2/jsp2-example-taglib.tld apache-tomcat-7.0.57/webapps/examples/WEB-INF/jsp/applet/Clock2.java apache-tomcat-7.0.57/webapps/examples/WEB-INF/jsp/debug-taglib.tld apache-tomcat-7.0.57/webapps/examples/WEB-INF/jsp/example-taglib.tld apache-tomcat-7.0.57/webapps/examples/WEB-INF/lib/jstl.jar apache-tomcat-7.0.57/webapps/examples/WEB-INF/lib/standard.jar apache-tomcat-7.0.57/webapps/examples/WEB-INF/tags/displayProducts.tag apache-tomcat-7.0.57/webapps/examples/WEB-INF/tags/helloWorld.tag apache-tomcat-7.0.57/webapps/examples/WEB-INF/tags/panel.tag apache-tomcat-7.0.57/webapps/examples/WEB-INF/tags/xhtmlbasic.tag apache-tomcat-7.0.57/webapps/examples/WEB-INF/web.xml apache-tomcat-7.0.57/webapps/examples/index.html apache-tomcat-7.0.57/webapps/examples/jsp/async/async1.jsp apache-tomcat-7.0.57/webapps/examples/jsp/async/async1.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/async/async3.jsp apache-tomcat-7.0.57/webapps/examples/jsp/async/async3.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/async/index.jsp apache-tomcat-7.0.57/webapps/examples/jsp/async/index.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/cal/Entries.java.html apache-tomcat-7.0.57/webapps/examples/jsp/cal/Entry.java.html apache-tomcat-7.0.57/webapps/examples/jsp/cal/JspCalendar.java.html apache-tomcat-7.0.57/webapps/examples/jsp/cal/TableBean.java.html apache-tomcat-7.0.57/webapps/examples/jsp/cal/cal1.jsp apache-tomcat-7.0.57/webapps/examples/jsp/cal/cal1.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/cal/cal2.jsp apache-tomcat-7.0.57/webapps/examples/jsp/cal/cal2.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/cal/calendar.html apache-tomcat-7.0.57/webapps/examples/jsp/cal/login.html apache-tomcat-7.0.57/webapps/examples/jsp/checkbox/CheckTest.html apache-tomcat-7.0.57/webapps/examples/jsp/checkbox/check.html apache-tomcat-7.0.57/webapps/examples/jsp/checkbox/checkresult.jsp apache-tomcat-7.0.57/webapps/examples/jsp/checkbox/checkresult.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/checkbox/cresult.html apache-tomcat-7.0.57/webapps/examples/jsp/colors/ColorGameBean.html apache-tomcat-7.0.57/webapps/examples/jsp/colors/clr.html apache-tomcat-7.0.57/webapps/examples/jsp/colors/colors.html apache-tomcat-7.0.57/webapps/examples/jsp/colors/colrs.jsp apache-tomcat-7.0.57/webapps/examples/jsp/colors/colrs.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/dates/date.html apache-tomcat-7.0.57/webapps/examples/jsp/dates/date.jsp apache-tomcat-7.0.57/webapps/examples/jsp/dates/date.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/error/er.html apache-tomcat-7.0.57/webapps/examples/jsp/error/err.jsp apache-tomcat-7.0.57/webapps/examples/jsp/error/err.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/error/error.html apache-tomcat-7.0.57/webapps/examples/jsp/error/errorpge.jsp apache-tomcat-7.0.57/webapps/examples/jsp/error/errorpge.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/forward/forward.jsp apache-tomcat-7.0.57/webapps/examples/jsp/forward/forward.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/forward/fwd.html apache-tomcat-7.0.57/webapps/examples/jsp/forward/one.jsp apache-tomcat-7.0.57/webapps/examples/jsp/forward/one.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/forward/two.html apache-tomcat-7.0.57/webapps/examples/jsp/images/code.gif apache-tomcat-7.0.57/webapps/examples/jsp/images/execute.gif apache-tomcat-7.0.57/webapps/examples/jsp/images/read.gif apache-tomcat-7.0.57/webapps/examples/jsp/images/return.gif apache-tomcat-7.0.57/webapps/examples/jsp/include/foo.html apache-tomcat-7.0.57/webapps/examples/jsp/include/foo.jsp apache-tomcat-7.0.57/webapps/examples/jsp/include/foo.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/include/inc.html apache-tomcat-7.0.57/webapps/examples/jsp/include/include.jsp apache-tomcat-7.0.57/webapps/examples/jsp/include/include.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/index.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/Functions.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/ValuesBean.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/ValuesTag.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/basic-arithmetic.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/basic-arithmetic.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/basic-comparisons.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/basic-comparisons.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/composite.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/composite.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/composite.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/functions.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/functions.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/functions.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/implicit-objects.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/implicit-objects.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/el/implicit-objects.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspattribute/FooBean.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspattribute/HelloWorldSimpleTag.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspattribute/ShuffleSimpleTag.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspattribute/TileSimpleTag.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspattribute/jspattribute.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspattribute/jspattribute.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspattribute/shuffle.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspattribute/shuffle.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspx/basic.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspx/basic.jspx apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspx/basic.jspx.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspx/svgexample.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspx/textRotate.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspx/textRotate.jpg apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspx/textRotate.jspx apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/jspx/textRotate.jspx.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/EchoAttributesTag.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/coda.jspf apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/coda.jspf.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/config.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/config.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/config.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/dynamicattrs.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/dynamicattrs.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/prelude.jspf apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/misc/prelude.jspf.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/BookBean.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/FindBookSimpleTag.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/Functions.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/HelloWorldSimpleTag.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/RepeatSimpleTag.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/book.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/book.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/book.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/hello.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/hello.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/hello.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/repeat.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/repeat.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/simpletag/repeat.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/displayProducts.tag.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/hello.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/hello.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/hello.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/helloWorld.tag.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/panel.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/panel.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/panel.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/panel.tag.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/products.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/products.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/products.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsp2/tagfiles/xhtmlbasic.tag.html apache-tomcat-7.0.57/webapps/examples/jsp/jsptoserv/ServletToJsp.java.html apache-tomcat-7.0.57/webapps/examples/jsp/jsptoserv/hello.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsptoserv/hello.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp apache-tomcat-7.0.57/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/jsptoserv/jts.html apache-tomcat-7.0.57/webapps/examples/jsp/num/numguess.html apache-tomcat-7.0.57/webapps/examples/jsp/num/numguess.jsp apache-tomcat-7.0.57/webapps/examples/jsp/num/numguess.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/plugin/applet/Clock2.class apache-tomcat-7.0.57/webapps/examples/jsp/plugin/applet/Clock2.java apache-tomcat-7.0.57/webapps/examples/jsp/plugin/plugin.html apache-tomcat-7.0.57/webapps/examples/jsp/plugin/plugin.jsp apache-tomcat-7.0.57/webapps/examples/jsp/plugin/plugin.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/security/protected/error.jsp apache-tomcat-7.0.57/webapps/examples/jsp/security/protected/error.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/security/protected/index.jsp apache-tomcat-7.0.57/webapps/examples/jsp/security/protected/index.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/security/protected/login.jsp apache-tomcat-7.0.57/webapps/examples/jsp/security/protected/login.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/sessions/DummyCart.html apache-tomcat-7.0.57/webapps/examples/jsp/sessions/carts.html apache-tomcat-7.0.57/webapps/examples/jsp/sessions/carts.jsp apache-tomcat-7.0.57/webapps/examples/jsp/sessions/carts.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/sessions/crt.html apache-tomcat-7.0.57/webapps/examples/jsp/simpletag/foo.html apache-tomcat-7.0.57/webapps/examples/jsp/simpletag/foo.jsp apache-tomcat-7.0.57/webapps/examples/jsp/simpletag/foo.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/snp/snoop.html apache-tomcat-7.0.57/webapps/examples/jsp/snp/snoop.jsp apache-tomcat-7.0.57/webapps/examples/jsp/snp/snoop.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/source.jsp apache-tomcat-7.0.57/webapps/examples/jsp/source.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/choose.html apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/choose.jsp apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/choose.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/foreach.html apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/foreach.jsp apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/foreach.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/howto.html apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/if.html apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/if.jsp apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/if.jsp.html apache-tomcat-7.0.57/webapps/examples/jsp/tagplugin/notes.html apache-tomcat-7.0.57/webapps/examples/jsp/xml/xml.html apache-tomcat-7.0.57/webapps/examples/jsp/xml/xml.jsp apache-tomcat-7.0.57/webapps/examples/jsp/xml/xml.jsp.html apache-tomcat-7.0.57/webapps/examples/servlets/chat/index.jsp apache-tomcat-7.0.57/webapps/examples/servlets/chat/index.jsp.html apache-tomcat-7.0.57/webapps/examples/servlets/chat/login.jsp apache-tomcat-7.0.57/webapps/examples/servlets/chat/login.jsp.html apache-tomcat-7.0.57/webapps/examples/servlets/chat/post.jsp apache-tomcat-7.0.57/webapps/examples/servlets/chat/post.jsp.html apache-tomcat-7.0.57/webapps/examples/servlets/cookies.html apache-tomcat-7.0.57/webapps/examples/servlets/helloworld.html apache-tomcat-7.0.57/webapps/examples/servlets/images/code.gif apache-tomcat-7.0.57/webapps/examples/servlets/images/execute.gif apache-tomcat-7.0.57/webapps/examples/servlets/images/return.gif apache-tomcat-7.0.57/webapps/examples/servlets/index.html apache-tomcat-7.0.57/webapps/examples/servlets/reqheaders.html apache-tomcat-7.0.57/webapps/examples/servlets/reqinfo.html apache-tomcat-7.0.57/webapps/examples/servlets/reqparams.html apache-tomcat-7.0.57/webapps/examples/servlets/sessions.html apache-tomcat-7.0.57/webapps/examples/websocket-deprecated/chat.html apache-tomcat-7.0.57/webapps/examples/websocket-deprecated/echo.html apache-tomcat-7.0.57/webapps/examples/websocket-deprecated/index.html apache-tomcat-7.0.57/webapps/examples/websocket-deprecated/snake.html apache-tomcat-7.0.57/webapps/examples/websocket/chat.xhtml apache-tomcat-7.0.57/webapps/examples/websocket/drawboard.xhtml apache-tomcat-7.0.57/webapps/examples/websocket/echo.xhtml apache-tomcat-7.0.57/webapps/examples/websocket/index.xhtml apache-tomcat-7.0.57/webapps/examples/websocket/snake.xhtml apache-tomcat-7.0.57/webapps/host-manager/META-INF/context.xml apache-tomcat-7.0.57/webapps/host-manager/WEB-INF/jsp/401.jsp apache-tomcat-7.0.57/webapps/host-manager/WEB-INF/jsp/403.jsp apache-tomcat-7.0.57/webapps/host-manager/WEB-INF/jsp/404.jsp apache-tomcat-7.0.57/webapps/host-manager/WEB-INF/web.xml apache-tomcat-7.0.57/webapps/host-manager/images/add.gif apache-tomcat-7.0.57/webapps/host-manager/images/asf-logo.gif apache-tomcat-7.0.57/webapps/host-manager/images/code.gif apache-tomcat-7.0.57/webapps/host-manager/images/design.gif apache-tomcat-7.0.57/webapps/host-manager/images/docs.gif apache-tomcat-7.0.57/webapps/host-manager/images/fix.gif apache-tomcat-7.0.57/webapps/host-manager/images/tomcat.gif apache-tomcat-7.0.57/webapps/host-manager/images/update.gif apache-tomcat-7.0.57/webapps/host-manager/images/void.gif apache-tomcat-7.0.57/webapps/host-manager/index.jsp apache-tomcat-7.0.57/webapps/host-manager/manager.xml apache-tomcat-7.0.57/webapps/manager/META-INF/context.xml apache-tomcat-7.0.57/webapps/manager/WEB-INF/jsp/401.jsp apache-tomcat-7.0.57/webapps/manager/WEB-INF/jsp/403.jsp apache-tomcat-7.0.57/webapps/manager/WEB-INF/jsp/404.jsp apache-tomcat-7.0.57/webapps/manager/WEB-INF/jsp/sessionDetail.jsp apache-tomcat-7.0.57/webapps/manager/WEB-INF/jsp/sessionsList.jsp apache-tomcat-7.0.57/webapps/manager/WEB-INF/web.xml apache-tomcat-7.0.57/webapps/manager/images/add.gif apache-tomcat-7.0.57/webapps/manager/images/asf-logo.gif apache-tomcat-7.0.57/webapps/manager/images/code.gif apache-tomcat-7.0.57/webapps/manager/images/design.gif apache-tomcat-7.0.57/webapps/manager/images/docs.gif apache-tomcat-7.0.57/webapps/manager/images/fix.gif apache-tomcat-7.0.57/webapps/manager/images/tomcat.gif apache-tomcat-7.0.57/webapps/manager/images/update.gif apache-tomcat-7.0.57/webapps/manager/images/void.gif apache-tomcat-7.0.57/webapps/manager/index.jsp apache-tomcat-7.0.57/webapps/manager/status.xsd apache-tomcat-7.0.57/webapps/manager/xform.xsl youhaidong@youhaidong-ThinkPad-Edge-E545:~/下载$
youhaidong@youhaidong:~/下载$ sudo cp -r apache-tomcat-7.0.57 /opt
[sudo] password for youhaidong:
4 打开配置文件
youhaidong@youhaidong:~$ gedit /opt/apache-tomcat-7.0.57/bin/startup.sh
#!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ----------------------------------------------------------------------------- # Start Script for the CATALINA Server # ----------------------------------------------------------------------------- # Better OS/400 detection: see Bugzilla 31132 os400=false case "`uname`" in OS400*) os400=true;; esac # resolve links - $0 may be a softlink PRG="$0" while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG=`dirname "$PRG"`/"$link" fi done PRGDIR=`dirname "$PRG"` EXECUTABLE=catalina.sh # Check that target executable exists if $os400; then # -x will Only work on the os400 if the files are: # 1. owned by the user # 2. owned by the PRIMARY group of the user # this will not work if the user belongs in secondary groups eval else if [ ! -x "$PRGDIR"/"$EXECUTABLE" ]; then echo "Cannot find $PRGDIR/$EXECUTABLE" echo "The file is absent or does not have execute permission" echo "This file is needed to run this program" exit 1 fi fi exec "$PRGDIR"/"$EXECUTABLE" start "$@" ##添加jdk和jre环境变量 JAVA_HOME=/usr/lib/jvm/jdk1.7.0_71 JRE_HOME=$JAVA_HOME/jre PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME CLASSPATH=.:$JRE_HOME/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar TOMCAT_HOME=/opt/apache-tomcat-7.0.57
原文地址:http://blog.csdn.net/you23hai45/article/details/42341531