Linux安装配置tomcat.docx

  1. 1、本文档共7页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Linux安装配置tomcat

Linux安装配置tomcat1.首先配置好jdk查看java版本:java -verson1.官网下载jdk2.tar -zxvf xxxx.tar.gz 解压3.配置环境变量1# vi /etc/profile2在最后加入以下几行:export JAVA_HOME=/usr/java/jdk1.5.0_16export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jarexport PATH=$PATH:$JAVA_HOME/bin3# source /etc/profile执行后生效2.安装tomcat1.下载tomcat并解压tar -zxvf xxx.tar.gz2.配置conf/server.xml 1 ?xml version=1.0 encoding=utf-8? 2 !-- 3 Licensed to the Apache Software Foundation (ASF) under one or more 4 contributor license agreements. See the NOTICE file distributed with 5 this work for additional information regarding copyright ownership. 6 The ASF licenses this file to You under the Apache License, Version 2.0 7 (the License); you may not use this file except in compliance with 8 the License. You may obtain a copy of the License at 9 10 /licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an AS IS BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17 -- 18 !-- Note: A Server is not itself a Container, so you may not 19 define subcomponents such as Valves at this level. 20 Documentation at /docs/config/server.html 21 port指定Tomcat监听shutdown命令端口.终止服务器运行时,必须在Tomcat服务器所在的机器上发出 22 shutdown命令.该属性是必须的. 23 -- 24 Server port=8005 shutdown=SHUTDOWN 25 Listener className=org.apache.catalina.startup.VersionLoggerListener / 26 !-- Security listener. Documentation at /docs/config/listeners.html 27 Listener className=org.apache.catalina.security.SecurityListener / 28 -- 29 !--APR library loader. Documentation at /docs/apr.html -- 30 Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / 31 !-- Prevent memory leaks due to use of particular java/javax APIs-- 32 Listener className=org.apache.catalina.core.JreMemoryLeakPreventionListener / 33 Listener cla

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档