我的系统是 centos7.4
第一步:安装NIGNX
yum install nginx -y

第二步:进入nginx 安装目录 /etc/nginx
cd /etc/nginx

第三步:查看文件列表ls
ls

第四步:编辑nginx配置文件,启动80端口
vim nginx.conf

第五步:访问地址: curl localhost
curl localhost
我的系统是 centos7.4
第一步:安装NIGNX
yum install nginx -y
第二步:进入nginx 安装目录 /etc/nginx
cd /etc/nginx
第三步:查看文件列表ls
ls
第四步:编辑nginx配置文件,启动80端口
vim nginx.conf
第五步:访问地址: curl localhost
curl localhost
本文标题:linux 最简单安装NIGNX
本文链接:https://www.haomeiwen.com/subject/kmdrkqtx.html
网友评论