手记

centos7用yum安装nginx

安装好centos7后,将centos开通上网权限

1、将nginx加入yum

# rpm -ivh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm

2、yum安装Nginx



3、启动


配置文件和html目录




0人推荐
随时随地看视频
慕课网APP