{"id":396,"date":"2026-01-26T07:59:14","date_gmt":"2026-01-26T07:59:14","guid":{"rendered":"https:\/\/blog.gpst.net.cn:4008\/?p=396"},"modified":"2026-01-28T06:24:13","modified_gmt":"2026-01-28T06:24:13","slug":"centos%e8%bf%90%e7%bb%b4-%e5%8d%97%e5%a4%a7%e9%95%9c%e5%83%8f%e6%ba%90%e9%85%8d%e7%bd%ae%e5%90%abepel","status":"publish","type":"post","link":"https:\/\/opshub.com.cn\/?p=396","title":{"rendered":"centos\u8fd0\u7ef4\u2014\u2014\u5357\u5927\u955c\u50cf\u6e90\u914d\u7f6e~(\u542bepel)"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code># CentOS-Base.repo\n#\n# The mirror system uses the connecting IP address of the client and the\n# update status of each mirror to pick mirrors that are updated to and\n# geographically close to the client.  You should use this for CentOS updates\n# unless you are manually picking other mirrors.\n#\n# If the mirrorlist= does not work for you, as a fall back you can try the\n# remarked out baseurl= line instead.\n#\n#\n&#091;base]\nname=CentOS-$releasever - Base - NJU Mirror\nbaseurl=https:\/\/mirrors.nju.edu.cn\/centos\/$releasever\/os\/$basearch\/\ngpgcheck=1\ngpgkey=https:\/\/mirrors.nju.edu.cn\/centos\/RPM-GPG-KEY-CentOS-7\n\n\n#released updates\n&#091;updates]\nname=CentOS-$releasever - Updates - NJU Mirror\nbaseurl=https:\/\/mirrors.nju.edu.cn\/centos\/$releasever\/updates\/$basearch\/\ngpgcheck=1\ngpgkey=https:\/\/mirrors.nju.edu.cn\/centos\/RPM-GPG-KEY-CentOS-7\n\n\n#additional packages that may be useful\n&#091;extras]\nname=CentOS-$releasever - Extras - NJU Mirror\nbaseurl=https:\/\/mirrors.nju.edu.cn\/centos\/$releasever\/extras\/$basearch\/\ngpgcheck=1\ngpgkey=https:\/\/mirrors.nju.edu.cn\/centos\/RPM-GPG-KEY-CentOS-7\n\n\n#additional packages that extend functionality of existing packages\n&#091;centosplus]\nname=CentOS-$releasever - Plus - NJU Mirror\nbaseurl=https:\/\/mirrors.nju.edu.cn\/centos\/$releasever\/centosplus\/$basearch\/\ngpgcheck=1\nenabled=0\ngpgkey=https:\/\/mirrors.nju.edu.cn\/centos\/RPM-GPG-KEY-CentOS-7\n&#091;epel]\nname=Extra Packages for Enterprise Linux 7 - $basearch\nbaseurl=https:\/\/mirrors.nju.edu.cn\/epel\/$releasever\/$basearch\nenabled=1\ngpgcheck=1\ngpgkey=https:\/\/mirrors.nju.edu.cn\/epel\/RPM-GPG-KEY-EPEL-7<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-396","post","type-post","status-publish","format-standard","hentry","category-9"],"_links":{"self":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=396"}],"version-history":[{"count":2,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/396\/revisions"}],"predecessor-version":[{"id":619,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/396\/revisions\/619"}],"wp:attachment":[{"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opshub.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}