{"id":322,"date":"2020-07-11T20:59:45","date_gmt":"2020-07-11T12:59:45","guid":{"rendered":"http:\/\/b.yesiyu.top\/?p=322"},"modified":"2020-07-11T20:59:47","modified_gmt":"2020-07-11T12:59:47","slug":"centos-%e6%ba%90%e8%ae%be%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/b.yesiyu.top\/?p=322","title":{"rendered":"CentOS \u6e90\u8bbe\u7f6e"},"content":{"rendered":"\n<p>\u5b89\u88c5\u5b8cCentOS\u540e\uff0c\u7cfb\u7edf\u9ed8\u8ba4\u7684\u6e90\u53ef\u80fd\u6709\u9650\u6ee1\uff0c\u8fd9\u65f6\u6211\u4eec\u9700\u8981\u6dfb\u52a0\u56fd\u5185\u6bd4\u8f83\u597d\u7684\u6e90\u3002<\/p>\n\n\n\n<p><strong>\u4e00\u3001\u56fd\u5185\u6bd4\u8f83\u597d\u7684\u6e90<\/strong><br><a href=\"https:\/\/opsx.alibaba.com\/mirror%20\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/opsx.alibaba.com\/mirror&nbsp;<\/a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u963f\u91cc\u6e90\uff0c\u6709\u5e2e\u52a9\u6587\u6863<br><a href=\"https:\/\/mirrors.tuna.tsinghua.edu.cn\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/mirrors.tuna.tsinghua.edu.cn\/<\/a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u6e05\u534e\u5927\u5b66\u6e90\uff0c\u6709\u5e2e\u52a9\u6587\u6863<br><a href=\"https:\/\/mirrors.tuna.tsinghua.edu.cn\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/mirrors.163.com\/&nbsp;<\/a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u7f51\u6613\u6e90\uff0c\u6709\u5e2e\u52a9\u6587\u6863<\/p>\n\n\n\n<p><strong>\u4e8c\u3001\u6dfb\u52a0\u963f\u91cc\u6e90<\/strong><br>\u8fdb\u5165\u963f\u91cc\u6e90\u5b98\u65b9\u7f51\u7ad9\uff0c\u70b9\u5f00centos\u53f3\u4fa7\u7684\u5e2e\u52a9\u5982\u4e0b\uff1a<br>CentOS<br>1\u3001\u5907\u4efd<\/p>\n\n\n\n<p>mv \/etc\/yum.repos.d\/CentOS-Base.repo \/etc\/yum.repos.d\/CentOS-Base.repo.backup<\/p>\n\n\n\n<p>2\u3001\u4e0b\u8f7d\u65b0\u7684CentOS-Base.repo \u5230\/etc\/yum.repos.d\/<\/p>\n\n\n\n<p>CentOS 5<\/p>\n\n\n\n<p>wget -O \/etc\/yum.repos.d\/CentOS-Base.repo http:\/\/mirrors.aliyun.com\/repo\/Centos-5.repo<\/p>\n\n\n\n<p>\u6216\u8005<\/p>\n\n\n\n<p>curl -o \/etc\/yum.repos.d\/CentOS-Base.repo http:\/\/mirrors.aliyun.com\/repo\/Centos-5.repo<\/p>\n\n\n\n<p>CentOS 6<\/p>\n\n\n\n<p>wget -O \/etc\/yum.repos.d\/CentOS-Base.repo http:\/\/mirrors.aliyun.com\/repo\/Centos-6.repo<\/p>\n\n\n\n<p>\u6216\u8005<\/p>\n\n\n\n<p>curl -o \/etc\/yum.repos.d\/CentOS-Base.repo http:\/\/mirrors.aliyun.com\/repo\/Centos-6.repo<\/p>\n\n\n\n<p>CentOS 7<\/p>\n\n\n\n<p>wget -O \/etc\/yum.repos.d\/CentOS-Base.repo http:\/\/mirrors.aliyun.com\/repo\/Centos-7.repo<\/p>\n\n\n\n<p>\u6216\u8005<\/p>\n\n\n\n<p>curl -o \/etc\/yum.repos.d\/CentOS-Base.repo http:\/\/mirrors.aliyun.com\/repo\/Centos-7.repo<\/p>\n\n\n\n<p>3\u3001\u4e4b\u540e\u8fd0\u884cyum makecache\u751f\u6210\u7f13\u5b58<\/p>\n\n\n\n<p>4\u3001\u901a\u8fc7\u8fd9\u4e2a\u5e2e\u52a9\u6587\u4ef6\u5f88\u5bb9\u6613\u6dfb\u52a05 6 7\u7248\u672c\u7684\u963f\u91cc\u6e90\uff0c\u5176\u4ed6\u7ad9\u70b9\u7684\u6e90\u901a\u8fc7\u5bf9\u5e94\u7684\u5e2e\u52a9\u6587\u4ef6\u5b89\u88c5\u3002<br>5\u3001\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u547d\u4ee4\u5148\u6e05\u9664\u539f\u6765\u7684\u7f13\u5b58\uff0c\u5728\u751f\u6210\u65b0\u7684\u7f13\u5b58<br>yum clean all&nbsp;&nbsp;&nbsp;&nbsp; #\u751f\u6210\u524d\u5148\u6e05\u9664\u539f\u6765\u7684\u7f13\u5b58<br>yum makecache<\/p>\n\n\n\n<p><strong>\u4e09\u3001\u6dfb\u52a0\u7b2c\u4e09\u65b9EPEL\u6e90<\/strong><br>CentOS\u81ea\u5e26\u7684yum\u6e90\u4e2drpm\u5305\u6570\u91cf\u6709\u9650,\u5f88\u591a\u65f6\u5019\u627e\u4e0d\u5230\u6211\u4eec\u9700\u7684\u8f6f\u4ef6\u5305,\u6240\u4ee5\u6211\u4eec\u9700\u8981\u5b89\u88c5\u5305\u542b\u4e30\u5bcc\u7684\u7b2c\u4e09\u65b9YUM\u6e90\u6765\u6ee1\u8db3\u6211\u4eec\u7684\u9700\u6c42\u3002<\/p>\n\n\n\n<p>1\u3001EPEL\uff08Extra Packages for Enterprise Linux\u4e2d\u6587\u7ffb\u8bd1\u4e3a \u4f01\u4e1a\u7248 Linux \u9644\u52a0\u8f6f\u4ef6\u5305\uff0c\u4ee5\u4e0b\u7b80\u79f0 EPEL\uff09\u662f\u4e00\u4e2a Fedora \u7279\u522b\u5174\u8da3\u5c0f\u7ec4\uff0c\u7528\u4ee5\u521b\u5efa\u3001\u7ef4\u62a4\u4ee5\u53ca\u7ba1\u7406\u9488\u5bf9\u4f01\u4e1a\u7248 Linux \u7684\u4e00\u4e2a\u9ad8\u8d28\u91cf\u9644\u52a0\u8f6f\u4ef6\u5305\u96c6\uff0c\u9762\u5411\u7684\u5bf9\u8c61\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e \u7ea2\u5e3d\u4f01\u4e1a\u7248 Linux (RHEL)\u3001 CentOS\u3001Scientific Linux (SL)\u3001Oracle Linux (OL) \u3002\u4f5c\u4e3a Fedora \u6253\u5305\u793e\u533a\u7684\u4e00\u90e8\u5206\uff0cEPEL \u7684\u6240\u6709\u8f6f\u4ef6\u5305\u90fd\u662f 100% \u514d\u8d39\u4e14\u81ea\u7531\u7684\u5f00\u6e90\u8f6f\u4ef6(FLOSS)\u3002<br>EPEL \u7684\u8f6f\u4ef6\u5305\u901a\u5e38\u4e0d\u4f1a\u4e0e\u4f01\u4e1a\u7248 Linux \u5b98\u65b9\u6e90\u4e2d\u7684\u8f6f\u4ef6\u5305\u53d1\u751f\u51b2\u7a81\uff0c\u6216\u8005\u4e92\u76f8\u66ff\u6362\u6587\u4ef6\u3002EPEL \u9879\u76ee\u4e0e Fedora \u57fa\u672c\u4e00\u81f4\uff0c\u5305\u542b\u5b8c\u6574\u7684\u6784\u5efa\u7cfb\u7edf\u3001\u5347\u7ea7\u7ba1\u7406\u5668\u3001\u955c\u50cf\u7ba1\u7406\u5668\u7b49\u7b49\u3002<br>\u66f4\u8be6\u7ec6\u7684\u5185\u5bb9\u53ef\u4ee5\u67e5\u770b\u5b98\u65b9WIKI\uff1a<a href=\"https:\/\/fedoraproject.org\/wiki\/EPEL\/zh-cn\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/fedoraproject.org\/wiki\/EPEL\/zh-cn<\/a>&nbsp; \uff0c\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"http:\/\/dl.fedoraproject.org\/pub\/epel\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/dl.fedoraproject.org\/pub\/epel\/<\/a><\/p>\n\n\n\n<p>2\u3001\u5b98\u65b9\u7684EPEL\u6e90\u53ef\u80fd\u901f\u5ea6\u6bd4\u8f83\u8f83\u6162\uff0c\u8fd9\u91cc\u6211\u4eec\u6dfb\u52a0\u963f\u91cc\u7684EPEL\u6e90\uff0c\u5176\u4ed6\u7ad9\u70b9\u67e5\u770b\u5bf9\u5e94\u7684\u5e2e\u52a9\u6587\u4ef6\uff0c\u963f\u91cc\u7684EPEL\u6e90\u4e5f\u6709\u5e2e\u52a9\u6587\u4ef6\uff0c\u5982\u4e0b\uff1a<br>##epel \u914d\u7f6e\u65b9\u6cd5<br>###1\u3001\u5907\u4efd(\u5982\u6709\u914d\u7f6e\u5176\u4ed6epel\u6e90)<\/p>\n\n\n\n<p>mv \/etc\/yum.repos.d\/epel.repo \/etc\/yum.repos.d\/epel.repo.backup<br>mv \/etc\/yum.repos.d\/epel-testing.repo \/etc\/yum.repos.d\/epel-testing.repo.backup<\/p>\n\n\n\n<p>2\u3001\u4e0b\u8f7d\u65b0repo \u5230\/etc\/yum.repos.d\/<\/p>\n\n\n\n<p>epel(RHEL 7)<\/p>\n\n\n\n<p>&nbsp;&nbsp; &nbsp;wget -O \/etc\/yum.repos.d\/epel.repo http:\/\/mirrors.aliyun.com\/repo\/epel-7.repo<\/p>\n\n\n\n<p>epel(RHEL 6)<\/p>\n\n\n\n<p>&nbsp;&nbsp; &nbsp;wget -O \/etc\/yum.repos.d\/epel.repo http:\/\/mirrors.aliyun.com\/repo\/epel-6.repo<\/p>\n\n\n\n<p>epel(RHEL 5)<\/p>\n\n\n\n<p>&nbsp;&nbsp; &nbsp;wget -O \/etc\/yum.repos.d\/epel.repo http:\/\/mirrors.aliyun.com\/repo\/epel-5.repo<\/p>\n\n\n\n<p>3\u3001\u53ef\u4ee5\u901a\u8fc7\u4e0b\u9762\u7684\u547d\u4ee4\u5148\u6e05\u9664\u539f\u6765\u7684\u7f13\u5b58\uff0c\u5728\u751f\u6210\u65b0\u7684\u7f13\u5b58<br>yum clean all&nbsp;&nbsp;&nbsp;&nbsp; #\u751f\u6210\u524d\u5148\u6e05\u9664\u539f\u6765\u7684\u7f13\u5b58<br>yum makecache<\/p>\n\n\n\n<p>4\u3001\u6211\u4eec\u4e5f\u53ef\u4ee5\u901a\u8fc7\u201depel-release\u201d\u8fd9\u4e2a\u8f6f\u4ef6\u5305\uff0c\u8fd9\u4e2a\u8f6f\u4ef6\u5305\u4f1a\u81ea\u52a8\u914d\u7f6eyum\u7684\u8f6f\u4ef6\u4ed3\u5e93\u3002\u4e0d\u63a8\u8350\u7528\u8fd9\u79cd\u65b9\u6cd5\u56e0\u4e3a\u5b98\u65b9\u7684epel\u6e90\u6709\u53ef\u80fd\u6162\uff0c\u8fd8\u662f\u81ea\u5df1\u914d\u7f6eepel\u8f6f\u4ef6\u4ed3\u5e93\u3002<\/p>\n\n\n\n<p><strong>\u56db\u3001\u6dfb\u52a0\u7b2c\u4e09\u65b9RepoForge\u6e90<\/strong><br>RepoForge\u539f\u540dRPMforge\u662f RHEL \u7cfb\u7edf\u4e0b\u7684\u8f6f\u4ef6\u4ed3\u5e93\uff0c\u62e5\u6709 10000 \u591a\u4e2a\u8f6f\u4ef6\u5305\uff0c\u88ab\u8ba4\u4e3a\u662f\u6700\u5b89\u5168\u3001\u6700\u7a33\u5b9a\u7684\u4e00\u4e2a\u8f6f\u4ef6\u4ed3\u5e93\u3002\u662f\u7531 Dag \u53ca\u5176\u5b83\u5305\u88c5\u8005\u5408\u4f5c\u7ef4\u62a4\u7684\uff0c\u5305\u62ec wine\u3001vlc\u3001mplayer\u3001xmms-mp3 \u53ca\u5176\u5b83\u53d7\u6b22\u8fce\u7684\u5a92\u4f53\u5de5\u5177\u3002\u5b83\u5e76\u4e0d\u662f Red Hat \u6216 CentOS \u7684\u4e00\u90e8\u4efd\uff0c\u4f46\u5374\u662f\u4e3a\u90a3\u4e9b\u53d1\u884c\u7248\u672c\u800c\u8bbe\u8ba1\u7684\uff0c\u53ef\u80fd\u4e0eEPEL\u6e90\u51b2\u7a81\uff0c\u4f7f\u7528\u8981\u6ce8\u610f\u3002<\/p>\n\n\n\n<p>\u5b98\u65b9\u7f51\u7ad9\uff1a<a href=\"http:\/\/repoforge.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/repoforge.org\/<\/a>&nbsp;\uff0c\u901a\u8fc7\u5b98\u65b9\u7f51\u7ad9\u7684usage\uff08\u7528\u6cd5\uff09\u6807\u7b7e\u53ef\u4ee5\u67e5\u770b\u7528\u6cd5\uff1a\u5728<a href=\"http:\/\/repoforge.org\/use\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/repoforge.org\/use\/<\/a>\u7528\u6cd5\u7f51\u9875\uff0c\u4e0b\u8f7dCentOS\u7248\u672c\u4e0eCPU\u67b6\u6784<br>\u7684rpm\u5b89\u88c5\u5305\uff0c\u4e0b\u8f7d\u540e\u5b89\u88c5\u8fd9\u4e2a\u8f6f\u4ef6\u5305\uff0c\u5c31\u5b8c\u6210\u4e86\u8f6f\u4ef6\u6e90\u7684\u6dfb\u52a0\u3002<\/p>\n\n\n\n<p><a href=\"http:\/\/repoforge.org\/use\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/repoforge.org\/use\/<\/a>\u7f51\u7ad9\u6e90\u4e0b\u8f7d\u90e8\u5206\uff1a<br>Using RepoForge<br>First download the appropriate rpmforge-release package for your distribution:<\/p>\n\n\n\n<p>EL 7: x86_64<br>EL 6: i686, x86_64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #6\u7248\u672c\u5bf9\u5e94\u768432\u4f4d\u548c64\u4f4d\uff0c\u4e0b\u8f7d\u7cfb\u7edf\u5bf9\u5e94\u7684<br>EL 5: i386, x86_64, ppc<\/p>\n\n\n\n<p>\u4e0a\u9762\u5b98\u65b9\u7684\u53ef\u80fd\u6709\u70b9\u6162\uff0c\u53ef\u4ee5\u53bb<a href=\"https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/repoforge\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/repoforge\/<\/a>\u6e05\u534e\u5927\u5b66\u7684repoforge\u6e90\uff0c\u6709\u5e2e\u52a9\u6587\u4ef6\uff0c\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n\n\n\n<p><strong>\u4e94\u3001\u6dfb\u52a0\u7b2c\u4e09\u65b9RPMFusion\u6e90<\/strong><br>\u5982\u679c\u60a8\u4f7f\u7528\u8fc7Fedora \uff0c\u76f8\u4fe1\u5bf9 RPMFusion\u4e00\u5b9a\u4e0d\u964c\u751f\u5427\uff0c\u5404\u79cd\u97f3\u9891\u8f6f\u4ef6\u5982MPlayer\u5728\u6807\u51c6\u6e90\u4e2d\u662f\u6ca1\u6709\u7684\uff0c\u4e00\u822c\u5148\u5b89\u88c5RPMFusion\u6e90\uff0c\u4e4b\u540e\u5c31\u53ef\u4ee5\u65b9\u4fbf\u5730yum install\u5404\u79cd\u9700\u8981\u7684\u8f6f\u4ef6\u5566\u3002\u4f46CentOS\u5b98\u65b9\u8bf4RPMFusion\u8f6f\u4ef6\u5e93\u91cc\u9762\u7684\u8f6f\u4ef6\u7a33\u5b9a\u6027\u4e0d\u5982rpmforge\u3002<br>RPMFusion\u5b98\u7f51\uff1ahttp:\/\/rpmfusion.org\/<\/p>\n\n\n\n<p>\u5b89\u88c5\u6e90\uff1a\u8981\u6dfb\u52a0rpmfusion\u8f6f\u4ef6\u6e90\uff0c\u9996\u5148\u8981\u5b89\u88c5epel-release\u8fd9\u4e2a\u8f6f\u4ef6\u5305\uff0c\u524d\u9762\u6dfb\u52a0EPEL\u6e90\u65f6\u63d0\u5230\u8fc7\uff0c\u4f60\u53ef\u80fd\u4f1a\u62c5\u5fc3\u5b89\u88c5\u8fd9\u4e2a\u8f6f\u4ef6\u5305\u4f1a\u548c\u6dfb\u52a0\u7684\u963f\u91cc\u7684EPEL\u51b2\u7a81\uff0c\u5982\u679c\u662f\u5148\u6dfb\u52a0\u963f\u91cc\u6e90\uff0c\u95ee\u9898\u4e0d\u5927\u3002\u7136\u540e\u53bbRPMFusion\u5b98\u65b9\u7f51\u7ad9Configuration\u6807\u7b7e\u9875\u4e0b\u8f7dRPM Fusion free for RHEL 6 or compatible like CentOS\uff08\u81ea\u7531\u7684\uff09\u548cRPM Fusion nonfree for RHEL 6 or compatible like CentOS\uff08\u975e\u81ea\u7531\u7684\uff09\u8fd9\u4e24\u4e2a\u5b89\u88c5\u5305\u8fdb\u884c\u6e90\u7684\u5b89\u88c5\uff0c\u6211\u7684\u7cfb\u7edf\u662f6\u7248\u672c\u6240\u4ee5\u4e0b\u8fd9\u4e24\u4e2a\uff0c\u5982\u679c\u4e0d\u5148\u5b89\u88c5epel-release\u8fd9\u4e2a\u8f6f\u4ef6\u5305\uff0c\u5728\u8fdb\u884c\u4e0a\u9762\u4e24\u4e2a\u8f6f\u4ef6\u5305\u5b89\u88c5\u65f6\u4f1a\u9519\u8bef\u3002<br>\u8f6f\u4ef6\u6e90\u4e0b\u8f7d\u5b98\u65b9\u7f51\u5740\uff1a<br><a href=\"https:\/\/rpmfusion.org\/Configuration\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/rpmfusion.org\/Configuration<\/a><\/p>\n\n\n\n<p><strong>\u516d\u3001\u7b2c\u4e09\u65b9ELRepo\u6e90<\/strong><\/p>\n\n\n\n<p>ELRepo\u9879\u76ee\u4fa7\u91cd\u4e8e\u786c\u4ef6\u76f8\u5173\u7684\u5305\u6765\u589e\u5f3a\u4f60\u7684\u7ecf\u9a8c\u4e0e\u4f01\u4e1aLinux\u3002\u8fd9\u5305\u62ec\u6587\u4ef6\u7cfb\u7edf\u9a71\u52a8\u3001\u663e\u5361\u9a71\u52a8\u3001\u7f51\u7edc\u9a71\u52a8\u7a0b\u5e8f\u3001\u58f0\u97f3\u9a71\u52a8\u3001\u6444\u50cf\u5934\u548c\u89c6\u9891\u9a71\u52a8\u7a0b\u5e8f\u3002Repoforge \u662f RHEL \u7cfb\u7edf\u4e0b\u7684\u8f6f\u4ef6\u4ed3\u5e93\uff0c\u62e5\u6709 10000 \u591a\u4e2a\u8f6f\u4ef6\u5305\uff0c\u88ab\u8ba4\u4e3a\u662f\u6700\u5b89\u5168\u3001\u6700\u7a33\u5b9a\u7684\u4e00\u4e2a\u8f6f\u4ef6\u4ed3\u5e93\u3002<br>\u5b98\u65b9\u7f51\u7ad9\uff1a<a href=\"http:\/\/elrepo.org\/%20\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/elrepo.org\/&nbsp;<\/a><br>\u5b98\u7f51\u4e3b\u9875\u5c31\u6709\u8f6f\u4ef6\u6e90\u7684\u6dfb\u52a0\u65b9\u6cd5\uff0c\u6309\u7167\u4e0a\u9762\u7684\u65b9\u6cd5\u6dfb\u52a0\u5c31\u53ef\u4ee5\u4e86\u3002<br>CentOS6\u4e3a\u4f8b\uff1a<\/p>\n\n\n\n<p>1\u3001\u5bfc\u5165\u516c\u94a5\uff1a<br>rpm &#8211;import https:\/\/www.elrepo.org\/RPM-GPG-KEY-elrepo.org<\/p>\n\n\n\n<p>2\u3001\u5b89\u88c5ELRepo 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u5bf9\u5e94\u6211\u7684CentOS6\u7248\u672c<\/p>\n\n\n\n<p>rpm -Uvh http:\/\/www.elrepo.org\/elrepo-release-6-8.el6.elrepo.noarch.rpm<\/p>\n\n\n\n<p>\u4e03\u3001 Remi\u6e90<\/p>\n\n\n\n<p>Remi \u6e90\u5927\u5bb6\u6216\u8bb8\u5f88\u5c11\u542c\u8bf4\uff0c \u4f46\u662f\u6211\u4eec\u5f3a\u70c8\u63a8\u8350, \u5c24\u5176\u5bf9\u4e8e\u4e0d\u60f3\u7f16\u8bd1\u6700\u65b0\u7248\u7684 linux \u4f7f\u7528\u8005, \u56e0\u4e3a Remi \u6e90\u4e2d\u7684\u8f6f\u4ef6\u51e0\u4e4e\u90fd\u662f\u6700\u65b0\u7a33\u5b9a\u7248.<\/p>\n\n\n\n<p>\u6216\u8bb8\u60a8\u4f1a\u6000\u7591\u7a33\u5b9a\u4e0d?\u653e\u5fc3\u5427, \u8fd9\u4e9b\u90fd\u662f Linux \u9aa8\u7070\u7ea7\u7684\u73a9\u5bb6\u7f16\u8bd1\u597d\u653e\u8fdb\u6e90\u91cc\u7684, \u4ed6\u4eec\u5bf9\u4e8e\u7cfb\u7edf\u73af\u5883\u548c\u8f6f\u4ef6\u7f16\u8bd1\u53c2\u6570\u7684\u719f\u6089\u7a0b\u5ea6\u6bcb\u5eb8\u7f6e\u7591.<\/p>\n\n\n\n<p>Remi\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/rpms.remirepo.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/rpms.remirepo.net\/<\/a>\u548c<a href=\"http:\/\/rpms.famillecollet.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/rpms.famillecollet.com\/<\/a><\/p>\n\n\n\n<p>\u5b89\u88c5\u6e90\uff1a\u6253\u5f00Remi\u5b98\u7f51\u7684Repository Configuration\u6807\u7b7e\u8fdb\u5165https:\/\/blog.remirepo.net\/pages\/Config-en\u7f51\u9875 \uff0c\u8fd9\u91cc\u6709\u5b89\u88c5\u8bf4\u660e\uff0c\u6839\u636e\u8bf4\u660e\u8fdb\u884c\u5b89\u88c5\u5c31\u53ef\u4ee5\u4e86\u3002<br>\u8fd9\u4e2a\u539f\u9700\u8981EPEL\u6e90\u7684\u652f\u6301\uff0c\u6240\u4ee5\u8981\u5148\u6dfb\u52a0EPEL\u6e90\uff0c\u4e0a\u9762\u6211\u4eec\u5df2\u7ecf\u6dfb\u52a0\u4e86\uff0c\u5b89\u88c5CentOS\u6e90\u5982\u4e0b\uff1a<br>1\u3001\u4e0b\u8f7d\u6e90\u5b89\u88c5\u5305<br>[root@CentOS ~]# wget https:\/\/rpms.remirepo.net\/enterprise\/remi-release-6.rpm<br>2\u3001\u5b89\u88c5\u6e90\u5b89\u88c5\u5305&nbsp;&nbsp;&nbsp; &nbsp;<br>[root@CentOS ~]# rpm -Uvh remi-release-6.rpm<br>3\u3001\u7136\u540e\u7f16\u8f91&nbsp; \/etc\/yum.repos.d\/remi.repo \u6e90\u6587\u4ef6\uff0c\u5c06\u5176\u4e2d [remi] \u4e0b\u7684enabled=0\u6539\u4e3a1\uff0c\u4fdd\u5b58\u9000\u51fa\uff0c\u4ece\u800c\u542f\u52a8\u6e90\u5b8c\u6210\u914d\u7f6e\u3002<\/p>\n\n\n\n<p><strong>\u516b\u3001\u6dfb\u52a0\u672c\u5730DVD\u6e90\u3002<\/strong><br>\u5728\u670d\u52a1\u5668\u4e0d\u5141\u8bb8\u8054\u7f51\u7684\u60c5\u51b5\u4e0b\u7ecf\u5e38\u4f1a\u7528\u5230\u672c\u5730DVD\u5b89\u88c5\u5149\u76d8\u7684\u6e90\u3002<br>\u7cfb\u7edf\u5b89\u88c5\u5b8c\u9ed8\u8ba4\u4f1a\u5728\/etc\/yum.repos.d\/\u7684\u6e90\u76ee\u5f55\u4e0b\u6210\u624d\u4e00\u4e2aCentOS-Media.repo \u7684\u6e90\u6587\u4ef6\uff0c\u6211\u4eec\u53ea\u8981\u5bf9\u8fd9\u4e2a\u6e90\u6587\u4ef6\u8fdb\u884c\u76f8\u5e94\u7684\u8bbe\u7f6e\u5c31\u884c<br>1\u3001\u67e5\u770bCentOS-Media.repo \u6587\u4ef6\u5185\u5bb9\uff1a<br>[root@CentOS yum.repos.d]# cat CentOS-Media.repo<br># CentOS-Media.repo<br>#<br>#&nbsp; This repo can be used with mounted DVD media, verify the mount point for<br>#&nbsp; CentOS-6.&nbsp; You can use this repo and yum to install items directly off the<br>#&nbsp; DVD ISO that we release.<br>#<br># To use this repo, put in your DVD and use it with the other repos too:<br>#&nbsp; yum &#8211;enablerepo=c6-media [command]<br># &nbsp;<br># or for ONLY the media repo, do this:<br>#<br>#&nbsp; yum &#8211;disablerepo=\\* &#8211;enablerepo=c6-media [command]<br><br>[c6-media]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; #\u6e90\u540d\u79f0\uff0c\u5fc5\u586b<br>name=CentOS-$releasever &#8211; Media&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u6e90\u63cf\u8ff0\uff0c\u53ef\u4ee5\u4e0d\u586b\uff0c\u4f46\u662f\u4f1a\u6709\u63d0\u793a<br>baseurl=file:\/\/\/media\/CentOS\/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #\u6302\u8f7dDVD\u5149\u9a71\u7684\u53ef\u9009\u76ee\u5f55\/media\/CentOS\/ \uff0c\u8fd9\u4e2a\u76ee\u5f55\u53ef\u4ee5\u56e0\u4e2a\u4eba\u65b9\u4fbf\u6539\u53d8\u6210\u5176\u4ed6\u76ee\u5f55<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file:\/\/\/media\/cdrom\/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; #\u6302\u8f7dDVD\u5149\u9a71\u7684\u53ef\u9009\u76ee\u5f55\/media\/cdrom\/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file:\/\/\/media\/cdrecorder\/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; #\u6302\u8f7dDVD\u5149\u9a71\u7684\u53ef\u9009\u76ee\u5f55\/media\/cdrecorder\/<br>gpgcheck=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; #\u662f\u5426\u5f00\u542f\u6821\u9a8c\uff0c\u5728yum.conf\u4e2d\u5df2\u7ecf\u5b9a\u4e49\u5b83\u9ed8\u8ba4\u503c\u4e3a1<br>enabled=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #\u662f\u5426\u5f00\u542f\u8fd9\u4e2a\u6e90\uff0cenabled=0\u4e3a\u5173\u95ed\uff0cenabled=1\u4e3a\u5f00\u542f<br>gpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u5982\u679c\u5f00\u542fyum\u6e90\u5305\u6821\u9a8c\uff0c\u5219\u9700\u8981\u5bfc\u5165RPM\u516c\u94a5\u3002<br>[root@CentOS yum.repos.d]#<\/p>\n\n\n\n<p>2\u3001\u5728\/media\/\u76ee\u5f55\u4e0b\u65b0\u5efaCentOS\u76ee\u5f55\uff0c<br>[root@CentOS media]# mkdir CentOS<br>[root@CentOS media]# ls<br>CentOS<\/p>\n\n\n\n<p>3\u3001\u6302\u5728DVD\u5149\u9a71\u5230\/media\/CentOS\/\u76ee\u5f55,\u4e00\u5b9a\u8981\u9009\u62e9\u548c\u7cfb\u7edf\u7248\u672c\u53f7\u4e00\u6837\u7684\u7cfb\u7edf\u955c\u50cf\u3002<br>[root@CentOS ~]# mount \/dev\/cdrom1 \/media\/CentOS\/<\/p>\n\n\n\n<p>4\u3001\u5c06CentOS-Media.repo \u6587\u4ef6\u7684enabled=0 \u7ed9\u6210enabled=1 \uff0c\u5220\u9664\u6216\u7528#\u5c4f\u853dfile:\/\/\/media\/cdrom\/\u548cfile:\/\/\/media\/cdrecorder\/\u8fd9\u4e24\u884c\uff0c<br>\u5982\u679c\u4e0d\u5220\u9664\u6216\u5c4f\u853d\uff0c\u751f\u6210\u6e90\u7f13\u5b58\u65f6\u4f1a\u56e0\u4e3a\u627e\u4e0d\u5230\u5bf9\u5e94\u7684\u6587\u4ef6\u800c\u62a5\u9519\u3002<\/p>\n\n\n\n<p><strong>\u4e5d\u3001\u6dfb\u52a0\u5b8c\u6e90\u4e00\u5b9a\u8981\u8bb0\u5f97\u751f\u6210\u7f13\u5b58\uff0c\u901a\u8fc7\u4e0b\u9762\u7684\u547d\u4ee4\u5148\u6e05\u9664\u539f\u6765\u7684\u7f13\u5b58\uff0c\u5728\u751f\u6210\u65b0\u7684\u7f13\u5b58<\/strong><br>yum clean all&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; #\u751f\u6210\u524d\u5148\u6e05\u9664\u539f\u6765\u7684\u7f13\u5b58<br>yum makecache&nbsp;&nbsp; #\u751f\u6210\u7f13\u5b58<\/p>\n\n\n\n<p><strong>\u5341\u3001\u8bbe\u7f6e\u8f6f\u4ef6\u6e90\u7684\u4f18\u5148\u7ea7<\/strong><\/p>\n\n\n\n<p>\u5f53\u7cfb\u7edf\u6709\u591a\u4e2a\u8f6f\u4ef6\u6e90\u65f6\uff0c\u8981\u5b89\u88c5\u67d0\u4e00\u4e2a\u8f6f\u4ef6\uff0c\u5e76\u4e14\u8fd9\u4e2a\u8f6f\u4ef6\u5728\u591a\u4e2a\u6e90\u91cc\u9762\u90fd\u6709\u65f6\uff0c\u6211\u4eec\u80af\u5b9a\u5e0c\u671b\u7528\u6700\u4f18\u8d28\u7684\u6e90\u6765\u4e0b\u8f7d\u8f6f\u4ef6\uff0c\u800c\u4e14\u4e0d\u540c\u7684\u8f6f\u4ef6\u6e90\u4e4b\u95f4\u5e76\u4e0d\u80fd\u4fdd\u8bc1\u8f6f\u4ef6\u7684\u5b8c\u5168\u517c\u5bb9\u6ca1\u6709\u51b2\u7a81\u3002\u6240\u4ee5\u6211\u4eec\u9700\u8981\u8bbe\u7f6e\u8f6f\u4ef6\u6e90\u7684\u4f18\u5148\u7ea7\u3002yum-plugin-priorities \u63d2\u4ef6\u53ef\u4ee5\u7528\u6765\u5f3a\u5236\u4fdd\u62a4\u6e90\u3002\u5b83\u901a\u8fc7\u7ed9\u5404\u4e2a\u6e90\u8bbe\u5b9a\u4e0d\u540c\u7684\u4f18\u5148\u7ea7\uff0c\u4f7f\u5f97\u7cfb\u7edf\u7ba1\u7406\u5458\u53ef\u4ee5\u5c06\u67d0\u4e9b\u6e90\uff08\u6bd4\u5982\u5b98\u65b9\u6e90\uff09\u8bbe\u5b9a\u4e3a\u6700\u9ad8\u4f18\u5148\u7ea7\uff0c\u4ece\u800c\u4fdd\u8bc1\u7cfb\u7edf\u7684\u7a33\u5b9a\u6027\uff08\u540c\u65f6\u4e5f\u53ef\u80fd\u65e0\u6cd5\u66f4\u65b0\u5230\u5176\u5b83\u6e90\u4e0a\u63d0\u4f9b\u7684\u8f6f\u4ef6\u6700\u65b0\u7248\u672c\uff09\u3002\u60a8\u9700\u8981\u5b89\u88c5yum-plugin-priorities\u63d2\u4ef6\u3002<\/p>\n\n\n\n<p>1\u3001\u5b89\u88c5yum-plugin-priorities\u63d2\u4ef6<\/p>\n\n\n\n<p>[root@Fedora ~]# yum install yum-plugin-priorities.noarch<\/p>\n\n\n\n<p>2\u3001\u67e5\u770b\u63d2\u4ef6\u662f\u5426\u53ef\u7528<br>yum-plugin-priorities \u63d2\u4ef6\u7684\u914d\u7f6e\u6587\u4ef6\u662f\/etc\/yum\/pluginconf.d\/priorities.conf\uff0c\u5148\u786e\u8ba4\u5176\u662f\u5426\u5b58\u5728\uff0c\u540e\u67e5\u770b<br>\u5176\u5185\u5bb9\u4e3a:<br>[main]<br>enabled=1&nbsp;&nbsp; # 0\u7981\u7528 1\u542f\u7528<\/p>\n\n\n\n<p>3\u3001\u8bbe\u7f6e\u4f18\u5148\u7ea7<br>\u524d\u4e24\u9879\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u7f16\u8f91\/etc\/yum.repos.d\/\u76ee\u5f55\u4e0b\u6240\u6709\u7684.repo\u6587\u4ef6\uff0c\u7ed9\u6240\u6709\u7684\u6e90\u8bbe\u7f6e\u4f18\u5148\u7ea7\uff08priority\uff09\u3002priority\u7684\u4f18\u5148\u7ea7\u4e3a1\u523099\uff0c\u8bbe\u7f6e\u4e3a1\u5373\u4f18\u5148\u7ea7\u6700\u9ad8\uff0c1-10\u4e3a\u7cfb\u7edf\u4fdd\u7559\uff0c\u7b2c\u4e09\u65b9yum\u6e90\u7684\u4f18\u5148\u7ea7\u4ece11-99 \u3002\u4e00\u822c\u5b98\u65b9\u7684\u6e90\u6587\u4ef6CentOS-Base.repo\u4e0b\u6709[base],&nbsp; [updates], [extras]\u4e09\u4e2a\u6e90\u8bbe\u7f6e\u4e3a priority=1 \u53e6\u5916\u4e24\u4e2a[CentOSplus],[contrib] \u6e90\u8bbe\u7f6e\u6210 priority=2\uff0c\u4e00\u4e2a\u6e90\u6587\u4ef6\u4e0b\u9762\u53ef\u4ee5\u6709\u591a\u4e2a\u6e90\u3002<br>\u5176\u4ed6\u7b2c\u4e09\u65b9\u8f6f\u4ef6\u6e90\u7684\u6e90\u6587\u4ef6\u4e2d\u7684\u6e90\u6e90\u8bbe\u7f6e\u4e3a\uff1apriority=N \uff08\u63a8\u8350N&gt;10\uff0c\u5e76\u4e14\u6bcf\u4e2a\u7c7b\u578b\u7684\u6e90\u63a8\u8350\u4ecen0\u5f00\u59cb\uff0cn\u4e3a1-9\u7684\u6570\u5b57\uff0c\u6bd4\u598210\uff0c20,30\uff0c\u8fd9\u6837\u6e90\u4e0b\u9762\u7684\u7ec6\u5206\u6e90\u4ee5\u540e\u4e5f\u65b9\u4fbf\u6dfb\u52a0\u7ea7\u522b\uff09<\/p>\n\n\n\n<p>4\u3001\u7f16\u8f91\u5b98\u65b9\u6e90\u6587\u4ef6 \/etc\/yum.repos.d\/CentOS-Base.repo \u7f16\u8f91\u5982\u4e0b\uff1a<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br>[root@CentOS yum.repos.d]# vi CentOS-Base.repo<br># CentOS-Base.repo<br>#<br># The mirror system uses the connecting IP address of the client and the<br># update status of each mirror to pick mirrors that are updated to and<br># geographically close to the client.&nbsp; You should use this for CentOS updates<br># unless you are manually picking other mirrors.<br>#<br># If the mirrorlist= does not work for you, as a fall back you can try the<br># remarked out baseurl= line instead.<br>#<br>#<br><br>[base]<br>name=CentOS-$releasever &#8211; Base &#8211; mirrors.aliyun.com<br>failovermethod=priority<br>baseurl=http:\/\/mirrors.aliyun.com\/centos\/$releasever\/os\/$basearch\/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http:\/\/mirrors.aliyuncs.com\/centos\/$releasever\/os\/$basearch\/<br>#mirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&amp;arch=$basearch&amp;repo=os<br>gpgcheck=1<br>gpgkey=http:\/\/mirrors.aliyun.com\/centos\/RPM-GPG-KEY-CentOS-6<br>priority=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u8bbe\u7f6e[base]\u6e90\u4f18\u5148\u7ea7\u4e3a1<br><br>#released updates<br>[updates]<br>name=CentOS-$releasever &#8211; Updates &#8211; mirrors.aliyun.com<br>failovermethod=priority<br>baseurl=http:\/\/mirrors.aliyun.com\/centos\/$releasever\/updates\/$basearch\/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http:\/\/mirrors.aliyuncs.com\/centos\/$releasever\/updates\/$basearch\/<br>#mirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&amp;arch=$basearch&amp;repo=updates<br>gpgcheck=1<br>gpgkey=http:\/\/mirrors.aliyun.com\/centos\/RPM-GPG-KEY-CentOS-6<br>priority=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u8bbe\u7f6e[updates]\u6e90\u4f18\u5148\u7ea7\u4e3a1<br><br>#additional packages that may be useful<br>[extras]<br>name=CentOS-$releasever &#8211; Extras &#8211; mirrors.aliyun.com<br>failovermethod=priority<br>baseurl=http:\/\/mirrors.aliyun.com\/centos\/$releasever\/extras\/$basearch\/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http:\/\/mirrors.aliyuncs.com\/centos\/$releasever\/extras\/$basearch\/<br>#mirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&amp;arch=$basearch&amp;repo=extras<br>gpgcheck=1<br>gpgkey=http:\/\/mirrors.aliyun.com\/centos\/RPM-GPG-KEY-CentOS-6<br>priority=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u8bbe\u7f6e[extras]\u6e90\u4f18\u5148\u7ea7\u4e3a1<br><br>#additional packages that extend functionality of existing packages<br>[centosplus]<br>name=CentOS-$releasever &#8211; Plus &#8211; mirrors.aliyun.com<br>failovermethod=priority<br>baseurl=http:\/\/mirrors.aliyun.com\/centos\/$releasever\/centosplus\/$basearch\/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http:\/\/mirrors.aliyuncs.com\/centos\/$releasever\/centosplus\/$basearch\/<br>#mirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&amp;arch=$basearch&amp;repo=centosplus<br>gpgcheck=1<br>enabled=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u5982\u679c\u60f3\u5f00\u542f\u8fd9\u4e2a\u6e90\u5c06enabled=0\u6539\u4e3aenabled=1<br>gpgkey=http:\/\/mirrors.aliyun.com\/centos\/RPM-GPG-KEY-CentOS-6<br>priority=2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u8bbe\u7f6e[centosplus]\u6e90\u4f18\u5148\u7ea7\u4e3a2<br><br>#contrib &#8211; packages by Centos Users<br>[contrib]<br>name=CentOS-$releasever &#8211; Contrib &#8211; mirrors.aliyun.com<br>failovermethod=priority<br>baseurl=http:\/\/mirrors.aliyun.com\/centos\/$releasever\/contrib\/$basearch\/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http:\/\/mirrors.aliyuncs.com\/centos\/$releasever\/contrib\/$basearch\/<br>#mirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&amp;arch=$basearch&amp;repo=contrib<br>gpgcheck=1<br>enabled=0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u5982\u679c\u60f3\u5f00\u542f\u8fd9\u4e2a\u6e90\u5c06enabled=0\u6539\u4e3aenabled=1<br>gpgkey=http:\/\/mirrors.aliyun.com\/centos\/RPM-GPG-KEY-CentOS-6<br>priority=2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u8bbe\u7f6e[contrib]\u6e90\u4f18\u5148\u7ea7\u4e3a2<br>[root@CentOS yum.repos.d]#<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br>5\u3001\u7f16\u8f91[epel]\u7b2c\u4e09\u65b9\u6e90\u4f18\u5148\u7ea7<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br>[root@CentOS yum.repos.d]# vi epel.repo<\/p>\n\n\n\n<p>[epel]<br>name=Extra Packages for Enterprise Linux 6 &#8211; $basearch<br>baseurl=http:\/\/mirrors.aliyun.com\/epel\/6\/$basearch<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http:\/\/mirrors.aliyuncs.com\/epel\/6\/$basearch<br>#mirrorlist=https:\/\/mirrors.fedoraproject.org\/metalink?repo=epel-6&amp;arch=$basearch<br>failovermethod=priority<br>enabled=1<br>gpgcheck=0<br>gpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-EPEL-6<br>gpgcheck=11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u8bbe\u7f6e[epel]\u7b2c\u4e09\u65b9\u6e90\u4f18\u5148\u7ea7\u4e3a11&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br><br>[epel-debuginfo]<br>name=Extra Packages for Enterprise Linux 6 &#8211; $basearch &#8211; Debug<br>baseurl=http:\/\/mirrors.aliyun.com\/epel\/6\/$basearch\/debug<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http:\/\/mirrors.aliyuncs.com\/epel\/6\/$basearch\/debug<br>#mirrorlist=https:\/\/mirrors.fedoraproject.org\/metalink?repo=epel-debug-6&amp;arch=$basearch<br>failovermethod=priority<br>enabled=0<br>gpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-EPEL-6<br>gpgcheck=0<br><br>[epel-source]<br>name=Extra Packages for Enterprise Linux 6 &#8211; $basearch &#8211; Source<br>baseurl=http:\/\/mirrors.aliyun.com\/epel\/6\/SRPMS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http:\/\/mirrors.aliyuncs.com\/epel\/6\/SRPMS<br>#mirrorlist=https:\/\/mirrors.fedoraproject.org\/metalink?repo=epel-source-6&amp;arch=$basearch<br>failovermethod=priority<br>enabled=0<br>gpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-EPEL-6<br>gpgcheck=0<br>[root@CentOS yum.repos.d]#<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br>6\u3001\u5176\u4ed6\u7b2c\u4e09\u65b9\u6e90\u7684\u4f18\u5148\u7ea7\u8bbe\u7f6e\u8fd9\u91cc\u5c31\u4e0d\u4ecb\u7ecd\u4e86\uff0c\/etc\/yum.repos.d\/\u76ee\u5f55\u4e0b\u6587\u4ef6\u540d\u540e\u7f00\u4e3a.repo\u7684\u6587\u4ef6\u90fd\u662f\u6e90\u6587\u4ef6\uff0c\u91cc\u9762\u5bf9\u5e94\u7684\u6e90\u90fd\u9700\u8981\u8bbe\u7f6e\uff0c\u6700\u597d\u4e0d\u8981\u6dfb\u52a0\u592a\u591a\u6e90<br>\u5b98\u65b9\u6e90\u548cEPEL\u6e90\u5c31\u591f\u4e86\uff0c\u5982\u679c\u8fd9\u91cc\u6ca1\u6709\u60f3\u8981\u7684\u8f6f\u4ef6\u5728\u8fdb\u884c\u5176\u4ed6\u6e90\u7684\u6dfb\u52a0\uff0c\u6dfb\u52a0\u8fc7\u591a\u7684\u6e90\u7ef4\u62a4\u8d77\u6765\u9ebb\u70e6\uff0c\u8fd8\u5bb9\u6613\u9020\u6210\u8f6f\u4ef6\u6e90\u7684\u51b2\u7a81\u3002<br>7\u3001\u7279\u6b8a\u60c5\u51b5\uff1a\u5728\u4e0d\u540c\u4f18\u5148\u7ea7\u7684\u6e90\u4e2d\u90fd\u542b\u6709\u540c\u4e00\u4e2a\u5305\u65f6\uff0c\u5b83\u7684\u884c\u4e3a\u53ef\u80fd\u5c31\u4e0d\u662f\u6211\u4eec\u6240\u9700\u8981\u7684\u3002\u4f8b\u5982\uff0c\u5728\u5b98\u65b9\u6e90\u4e2d\u6709\u4e2a\u5305\uff1abck.1.11.x86_64.rpm\uff0c\u5b98\u65b9\u6e90\u662f\u6700\u9ad8\u4f18\u5148\u7ea7\u3002\u5728\u5176\u4ed6\u7684\u591a\u4e2a\u6e90\u4e2d\u4e5f\u6709bck\u8fd9\u4e2a\u5305\u7684\u4e0d\u540c\u7248\u672c\uff0c\u6bd4\u5982bck\u7684\u7248\u672c\u4e3abck.1.21.x86_64.rpm\uff0c\u901a\u8fc7\u547d\u4ee4\u5b89\u88c5bck.1.21.x86_64.rpm<br>yum install bck.1.21.x86_64.rpm<br>\u5c31\u4f1a\u51fa\u73b0\u4e0b\u9762\u7684\u63d0\u793a<br>&nbsp;&nbsp;&nbsp; xx packages excluded due to repository priority protections<br>\u5e76\u4e14\u627e\u4e0d\u5230\u6240\u9700\u8981\u7684\u5305\uff0c\u8fd9\u662f\u56e0\u4e3a\u5728\u9ad8\u4f18\u5148\u7ea7\u6e90\u4e2d\u5b58\u5728\u7684\u5305\uff0c\u4f1a\u5c06\u5176\u4ed6\u4f4e\u4f18\u5148\u7ea7\u4e2d\u7684\u5305\u5c4f\u853d\u6389\uff0c\u56e0\u6b64\u65e0\u6cd5\u4ece\u4f4e\u4f18\u5148\u7ea7\u7684\u6e90\u4e2d\u5b89\u88c5\u6240\u9700\u8981\u7684\u5305\u3002<\/p>\n\n\n\n<p>\u89e3\u51b3\u529e\u6cd5\u662f\u7981\u7528yum-plugin-priorities\u63d2\u4ef6\uff0c\u5c06\/etc\/yum\/pluginconf.d\/priorities.conf\u6587\u4ef6\u4e2d\u7684enabled=1\u6539\u79f0enabled=0<br>\u9ed8\u8ba4\u662f1;\u8bbe\u7f6eenabled = 0\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u7981\u7528priorities\u63d2\u4ef6\u3002\u4ece\u800c\u80fd\u591f\u5b89\u88c5\u4efb\u610f\u6e90\u4e0a\u7684\u5305\u3002<\/p>\n\n\n\n<p>\u6216\u8005\u628a\u9ad8\u4f18\u5148\u7ea7\u7684\u8f6f\u4ef6\u6e90\u5173\u95ed\uff0c\u5c31\u662f\u5728\u5bf9\u5e94\u6e90\u6587\u4ef6\u7684\u6e90\u4f4d\u7f6e\u540e\u9762\u6dfb\u52a0enabled=0\uff0c\u6709\u7684\u5c31\u5c06enabled=1\u6539\u4e3aenabled=0<br>\u4f8b\u5982\u5173\u95edepel\u6e90<br>[root@CentOS yum.repos.d]# vi epel.repo<\/p>\n\n\n\n<p>[epel]<br>name=Extra Packages for Enterprise Linux 6 &#8211; $basearch<br>baseurl=http:\/\/mirrors.aliyun.com\/epel\/6\/$basearch<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http:\/\/mirrors.aliyuncs.com\/epel\/6\/$basearch<br>#mirrorlist=https:\/\/mirrors.fedoraproject.org\/metalink?repo=epel-6&amp;arch=$basearch<br>failovermethod=priority<br>enabled=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #\u5c06enabled=1\u6539\u4e3aenabled=0\u5173\u95ed [epel]\u6e90<br>gpgcheck=0<br>gpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-EPEL-6<br>&#8230;&#8230;&nbsp; &nbsp;<br><br><strong>\u5341\u4e00\u3001\u663e\u793a\u5f53\u524d\u53ef\u7528\u6e90\u5217\u8868<\/strong><\/p>\n\n\n\n<p>[root@CentOS yum.repos.d]# yum repolist<br>\u5df2\u52a0\u8f7d\u63d2\u4ef6\uff1afastestmirror, priorities, refresh-packagekit, security<br>Loading mirror speeds from cached hostfile<br>&nbsp;* base: mirrors.aliyun.com<br>&nbsp;* epel: mirrors.aliyun.com<br>&nbsp;* extras: mirrors.aliyun.com<br>&nbsp;* updates: mirrors.aliyun.com<br>106 packages excluded due to repository priority protections<br>\u4ed3\u5e93\u6807\u8bc6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u4ed3\u5e93\u540d\u79f0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u72b6\u6001<br>base&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CentOS-6 &#8211; Base &#8211; mirrors.aliyun.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6,706<br>epel&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Extra Packages for Enterprise Linux 6 &#8211; x86_64&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12,391+106<br>extras&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CentOS-6 &#8211; Extras &#8211; mirrors.aliyun.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 53<br>updates&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CentOS-6 &#8211; Updates &#8211; mirrors.aliyun.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1,185<br>repolist: 20,335<br>[root@CentOS yum.repos.d]#<\/p>\n\n\n\n<p>\u6240\u7136\u4e0a\u9762\u6dfb\u52a0\u4e86\u5f88\u591a\u6e90\uff0c\u4f46\u662f\u6211\u628a\u73b0\u5728\u6682\u65f6\u4e0d\u7528\u7684\u6e90\u90fd\u901a\u8fc7enabled=0\u5173\u95ed\u4e86\uff0c\u53ea\u7559\u4e0b\u4e00\u4e2aEPEL\u7b2c\u4e09\u65b9\u6e90\uff0c\u8fd9\u6837\u53ef\u4ee5\u51cf\u5c11\u8f6f\u4ef6\u7684\u51b2\u7a81\u548c\u8f6f\u4ef6\u641c\u7d22\u7684\u901f\u5ea6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b89\u88c5\u5b8cCentOS\u540e\uff0c\u7cfb\u7edf\u9ed8\u8ba4\u7684\u6e90\u53ef\u80fd\u6709\u9650\u6ee1\uff0c\u8fd9\u65f6\u6211\u4eec\u9700\u8981\u6dfb\u52a0\u56fd\u5185\u6bd4\u8f83\u597d\u7684\u6e90\u3002 \u4e00\u3001\u56fd\u5185\u6bd4\u8f83\u597d\u7684\u6e90https: &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/b.yesiyu.top\/?p=322\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201cCentOS \u6e90\u8bbe\u7f6e\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-322","post","type-post","status-publish","format-standard","hentry","category-liunx-"],"_links":{"self":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=322"}],"version-history":[{"count":1,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/322\/revisions"}],"predecessor-version":[{"id":323,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=\/wp\/v2\/posts\/322\/revisions\/323"}],"wp:attachment":[{"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/b.yesiyu.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}