安装说明
安装环境:CentOS-6.4
安装方式:源码安装
软件:apache-tomcat-7.0.56.tar.gz
下载地址:http://tomcat.apache.org/download-70.cgi
安装前提
系统必须已安装配置JDK6+,安装请参考:
安装tomcat
将apache-tomcat-7.0.42.tar.gz文件上传到/usr/local中执行以下操作:
[[email protected] local]# cd /usr/local
[[email protected] local]# tar -zxv -f apache-tomcat-7.0.42.tar.gz // 解压压缩包
[[email protected] local]# rm -rf apache-tomcat-7.0.42.tar.gz // 删除压缩包
[[email protected] local]# mv apache-tomcat-7.0.42 tomcat
启动Tomcat
执行以下操作:
[[email protected] ~]# /usr/local/tomcat/bin/startup.sh //启动tomcat
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.7.0/jre
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
出现以上信息说明已成功启动。
/**************************************未完待续*************************************/