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 

 

posted @ 2016-05-11 23:02  bass  阅读(374)  评论(0编辑  收藏  举报