- 1、在安装前要安装JDK,并一定要配置环境变量JAVA_HOME!
- 2、下载apache-tomcat-7.0.82.tar.gz,并传至linux的/usr/local/src下
- 3、解压apache-tomcat-7.0.82.tar.gz文件
tar -zxvf apache-tomcat-7.0.82.tar.gz -C /usr/local
- 4、,转至/usr/local/apache-tomcat-7.0.82/bin目录
cd /usr/local/apache-tomcat-7.0.82/bin
- 5、启动Tomcat:
./startup.sh
- 6、关闭Tomcat:
./shtudown.sh