linux 安装tomcat8

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux 安装tomcat8相关的知识,希望对你有一定的参考价值。

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


以上是关于linux 安装tomcat8的主要内容,如果未能解决你的问题,请参考以下文章

Tomcat8安装APR

linux 安装tomcat8

Linux下jdk与Tomcat8的安装配置

linux下安装tomcat8

linux 安装tomcat8

linux下源码安装jdk1.8和tomcat8.5