tomcat安装
1. 下载tomcat http://tomcat.apache.org/download-70.cgi
2. 安装JAVA的JDK环境
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
3. 启动tomcat
(1)将下载下来的tomcat解压到/usr/local/tomcat目录下
(2).然后切换到/usr/local/tomcat/bin这个当前目录下:cd /usr/local/tomcat/bin
( 3)启动tomcat :sudo sh startup.sh
(4) 关闭tomcat: sudo sh shutdown.sh
4.验证tomcat,是否已经启动
在浏览器中输入http://localhost:8080/
出来如下界面就证明tomcat安装成功了