Linux - CentOS7.0安装64位apache-tomcat-6.0.41-x64.zip
我的Liunx版本信息:
LSB Version: core-4.1-amd64:core-4.1-noarch
Description: CentOS Linux release 7.0.1406 (Core)
Release: 7.0.1406
Tomcat版本信息:
apache-tomcat-6.0.41-x64.zip
要在Liunx系统上安装tomcat6.0那是非常的简单几步就能完成.
步骤一下载apache-tomcat-6.0.41-x64.zip文件:
apache-tomcat-6.0.41-x64.zip
步骤二通过FTP软件上传至Liunx系统:
步骤三授予执行权限:
#chmod -R 777 apache-tomcat-6.0.41-x64.zip
步骤四执行安装(其实就是一个解压的过程):
#unzip apache-tomcat-6.0.41-x64.zip
步骤五解压完成之后进入到Tomcat安装目录:
进入/usr/software/tomcat6.0.41/apache-tomcat-6.0.41/bin目录
启动Tomcat服务
#./startup.sh
步骤六查看日志是否有报错
进入/usr/software/tomcat6.0.41/apache-tomcat-6.0.41/logs目录
#cat catalina.out文件
Nov 13, 2015 11:40:38 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/software/jdk1.6/jdk1.6.0_45/jre/lib/amd64/server:/usr/software/jdk1.6/jdk1.6.0_45/jre/lib/amd64:/usr/software/jdk1.6/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Nov 13, 2015 11:40:38 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 13, 2015 11:40:38 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 962 ms
Nov 13, 2015 11:40:38 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 13, 2015 11:40:38 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.41
Nov 13, 2015 11:40:38 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Nov 13, 2015 11:40:39 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Nov 13, 2015 11:40:39 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Nov 13, 2015 11:40:39 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Nov 13, 2015 11:40:39 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Nov 13, 2015 11:40:40 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 13, 2015 11:40:40 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 13, 2015 11:40:40 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15 config=null
Nov 13, 2015 11:40:40 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1633 ms
代表启动成功.
步骤七验证是否成功:
浏览器地址栏输入:http://当前Liunx服务器IP地址:端口号访问即可.