如何安装nginx
发布时间:2017-03-19 09:34
相关话题
这里小编要教大家如何在linux下安装NGINX程序~想学LINUX操作系统的用户欢迎来阅读小编的文章~
如何安装nginx
检查是否安装该程序:
which nginx #查看nginx是否存在
which php #查看php是否存在
which mysql #查看mysql是否存在

yum list nginx #列出nginx
yum install nginx #安装nginx
#看见{Complete! } 安装成功。

which nginx #查看nginx是否存在
service nginx start #启动nginx进程方法[1]
/etc/init.d/nginx start #启动nginx进程方法[2]
ps -ef | grep nginx #查看nginx进程

ifconfig #查看网卡信息
打开浏览器:http://182.92.73.109/
看到 { 欢迎界面 } 说明安装成功!


如何安装nginx的评论条评论