CentOS7 实战部署tomcat网站服务器
[root@xdapp1 tomcat9.0.40]# ls -lrt /usr/local/tomcat9.0.40/
total 136
drwxr-x---. 7 root root 76 Nov 12 23:38 webapps
-rw-r-----. 1 root root 16507 Nov 12 23:41 RUNNING.txt
-rw-r-----. 1 root root 6898 Nov 12 23:41 RELEASE-NOTES
-rw-r-----. 1 root root 3257 Nov 12 23:41 README.md
-rw-r-----. 1 root root 2333 Nov 12 23:41 NOTICE
-rw-r-----. 1 root root 57092 Nov 12 23:41 LICENSE
-rw-r-----. 1 root root 5409 Nov 12 23:41 CONTRIBUTING.md
-rw-r-----. 1 root root 18982 Nov 12 23:41 BUILDING.txt
drwxr-x---. 2 root root 29 Nov 23 21:43 temp
drwxr-x---. 2 root root 4096 Nov 23 21:43 lib
drwxr-x---. 2 root root 4096 Nov 23 21:43 bin
drwx------. 3 root root 4096 Nov 23 22:01 conf
drwxr-x---. 2 root root 4096 Nov 23 22:01 logs
drwxr-x---. 3 root root 21 Nov 23 22:01 work
[root@xdapp1 tomcat9.0.40]# cd bin/
[root@xdapp1 bin]# ps -ef | grep tomcat
root 3967 1 0 22:01 pts/0 00:00:23 /usr/local/jdk1.8/jre/bin/java -Djava.util.logging.config.file=/usr/local/tomcat9.0.40/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dignore.endorsed.dirs= -classpath /usr/local/tomcat9.0.40/bin/bootstrap.jar:/usr/local/tomcat9.0.40/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat9.0.40 -Dcatalina.home=/usr/local/tomcat9.0.40 -Djava.io.tmpdir=/usr/local/tomcat9.0.40/temp org.apache.catalina.startup.Bootstrap start
root 4229 3846 0 23:06 pts/0 00:00:00 grep --color=auto tomcat
[root@xdapp1 bin]# netstat -tunlp | grep 3967
tcp6 0 0 127.0.0.1:8005 :::* LISTEN 3967/java
tcp6 0 0 :::8080 :::* LISTEN 3967/java