CentOS安装Tomcat
2016-02-21 本文已影响113人
onweer
- 下载Tomcat
http://tomcat.apache.org - 使用xftp上传Tomcat压缩包到服务器/download目录
- 解压Tomcat
tar xzvf apache-tomcat-7.0.68.tar.gz
并重命名mv apache-tomcat-7.0.68/ tomcat
- 拷贝tomcat到
/usr/local/
下 - 进入/bin目录,
- 启动tomcat 执行:
sh startup.sh
输出:
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
Tomcat started.
给个github follow me的链接,上面有很多初学者可供学习的资料,项目.
<a>https://github.com/SuperZee</a>