nginx安装后查看启动、 版本

[root@ecs-e332-0002 ~]# /usr/local/nginx/sbin/nginx -v
nginx version: nginx/1.8.1
[root@ecs-e332-0002 ~]# /usr/local/nginx/sbin/nginx
[root@ecs-e332-0002 ~]# ps -ef|grep nginx
root     25794     1  0 09:45 ?        00:00:00 nginx: master process /usr/local/nginx/sbin/nginx
nobody   25795 25794  0 09:45 ?        00:00:00 nginx: worker process      

root     25816 25579  0 09:48 pts/0    00:00:00 grep nginx



猜你喜欢

转载自blog.csdn.net/qq_38719039/article/details/80519962