1)下载
wget http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.14/bin/apache-tomcat-8.5.14.tar.gz
2)安装
tar -zxvf apache-tomcat-8.5.14.tar.gz
3)启动
[[email protected] bin]# ./startup.sh
Using CATALINA_BASE: /opt/soft/tomcat8
Using CATALINA_HOME: /opt/soft/tomcat8
Using CATALINA_TMPDIR: /opt/soft/tomcat8/temp
Using JRE_HOME: /usr/lib/jvm/jre-1.8.0-openjdk.i386
Using CLASSPATH: /opt/soft/tomcat8/bin/bootstrap.jar:/opt/soft/tomcat8/bin/tomcat-juli.jar
Tomcat started.
[[email protected] bin]# ps -axu|grep tomcat
Warning: bad syntax, perhaps a bogus ‘-‘? See /usr/share/doc/procps-3.2.8/FAQ
root 6867 11.9 6.1 573340 63396 pts/0 Sl 08:03 0:03 /usr/lib/jvm/jre-1.8.0-openjdk.i386/bin/java -Djava.util.logging.config.file=/opt/soft/tomcat8/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -classpath /opt/soft/tomcat8/bin/bootstrap.jar:/opt/soft/tomcat8/bin/tomcat-juli.jar -Dcatalina.base=/opt/soft/tomcat8 -Dcatalina.home=/opt/soft/tomcat8 -Djava.io.tmpdir=/opt/soft/tomcat8/temp org.apache.catalina.startup.Bootstrap start
root 6911 0.0 0.0 4356 724 pts/0 S+ 08:04 0:00 grep tomcat