Centos 7 Yum安装 Nginx 图文教程

About Nginx关于Nginx

is a high performance web server software. It is a much more flexible and lightweight program than HTTP Server.

This tutorial will teach you how to install and start Nginx on your 7 server.

Nginx 是一个很强大的高性能Web和反向代理服务器,比Apache更轻更灵活。下面我们将教大家如何在Centos7下安装Nginx服务。

CentOS6 YUM源 安装 Nginx

Centos7 安装Nginx:

1.添加Nginx Repository

2.安装Nginx

3.启动Nginx服务:

如果开着防火墙,请运行如下命令:

4.访问IP地址:

如果能看到此页面则说明nginx运作正常!
nginx_default

5.开机自动启动Nginx

点赞

发表评论

电子邮件地址不会被公开。 必填项已用*标注

Scroll Up