nginx 官方源 2018

來源:本站原創 Linux 超過187 views圍觀 0條評論
Pre-Built Packages for Stable version

To set up the yum repository for RHEL/CentOS, create the file named /etc/yum.repos.d/nginx.repo with the following contents:

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/
gpgcheck=0
Replace “OS with “rhel” or centos”, depending on the distribution used, and “OSRELEASE” with “6 or “7”, for 6.x or 7.x versions, respectively.enabled=1
 
舉例

# nginx.repo

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

文章出自:CCIE那點事 http://www.qdxgqk.live/ 版權所有。本站文章除注明出處外,皆為作者原創文章,可自由引用,但請注明來源。 禁止全文轉載。
本文標題:nginx 官方源 2018
本文鏈接:http://www.qdxgqk.live/?p=4006轉載請注明轉自CCIE那點事
如果喜歡:點此訂閱本站
?
?
萌宠夺宝游戏