标签:
1.下载apache-tomcat-7.0.62.tar.gz
2.解压:tar -zxvf apache-tomcat-7.0.62.tar.gz
3.配置环境变量:
进入安装目录:(/usr/local/apache-tomcat-7.0.62/bin),进入bin目录下:
修改catalina.sh文件
#!/bin/sh
export TOMCAT_HOME=/usr/local/apache-tomcat-7.0.62
export CATALINA_HOME=/usr/local/apache-tomcat-7.0.62
export JAVA_HOME=/usr/java/jdk1.7.0_79
然后执行 source catalina.sh 让配置生效
标签:
原文地址:http://www.cnblogs.com/quyanhui/p/4515332.html