tomcat

 unzip apache-tomcat-7.0.57.zip 
 mv apache-tomcat-7.0.57 /usr/local/tomcat
cd tomcat/bin
chmod 777 *.sh
./startup.sh 
[root@centos02 src]# netstat -lnutp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 127.0.0.1:9000              0.0.0.0:*                   LISTEN      12665/php-fpm       
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      16714/mysqld        
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      12692/nginx         
tcp        0      0 0.0.0.0:81                  0.0.0.0:*                   LISTEN      12692/nginx         
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN      12596/vsftpd        
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1333/sshd           
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1423/master         
tcp        0      0 ::ffff:127.0.0.1:8005       :::*                        LISTEN      17526/java          
tcp        0      0 :::8009                     :::*                        LISTEN      17526/java          
tcp        0      0 :::8080                     :::*                        LISTEN      17526/java          
tcp        0      0 :::22                       :::*                        LISTEN      1333/sshd           
tcp        0      0 ::1:25                      :::*                        LISTEN      1423/master         
udp        0      0 0.0.0.0:68                  0.0.0.0:*                               1166/dhclient 
原文地址:https://www.cnblogs.com/bass6/p/5483978.html