Nginx源代码安装
# ps -ef |grep nginxroot 1059 10 02:49 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
nginx 106110590 02:49 ? 00:00:00 nginx: worker process
root 106310130 02:49 pts/0 00:00:00 grep nginx
# netstat -antup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 192.168.1.151:8080 0.0.0.0:* LISTEN 1059/nginx
tcp 0 0 192.168.1.150:8080 0.0.0.0:* LISTEN 1059/nginx
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1059/nginx
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 801/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 877/master
tcp 0 0 192.168.1.129:22 192.168.1.106:56004 ESTABLISHED 1009/sshd
tcp 0 0 :::22 :::* LISTEN 801/sshd
tcp 0 0 ::1:25 :::* LISTEN 877/master
udp 0 0 0.0.0.0:68 0.0.0.0:* 1007/dhclient
页:
[1]