安装好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目录
安装好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目录
相关课程