centos6.2 使用yum快速安装nginx

技术分享 2019-01-07

To add nginx yum repository, create a file named /etc/yum.repos.d/nginx.repo and paste one of the configurations below: CentOS:

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1

After this:

yum install nginx

评论 (0)

发表评论

最多500字符

验证码

暂无评论

成为第一个评论的人吧!