{"id":1114,"date":"2020-04-26T16:58:24","date_gmt":"2020-04-26T08:58:24","guid":{"rendered":"http:\/\/39.97.231.10\/?p=1114"},"modified":"2020-04-26T16:58:24","modified_gmt":"2020-04-26T08:58:24","slug":"epel%e9%95%9c%e5%83%8f%e6%ba%90","status":"publish","type":"post","link":"http:\/\/www.weijing.co\/?p=1114","title":{"rendered":"Epel \u955c\u50cf\u6e90"},"content":{"rendered":"<h1 style=\\\"padding-left: 40px;\\\"><strong>EPEL\u4ecb\u7ecd<\/strong><\/h1>\n<p style=\\\"padding-left: 40px;\\\">EPEL (Extra Packages for Enterprise Linux), \u662f\u7531 Fedora Special Interest Group \u7ef4\u62a4\u7684 Enterprise Linux\uff08RHEL\u3001CentOS\uff09\u4e2d\u7ecf\u5e38\u7528\u5230\u7684\u5305\u3002<\/p>\n<h1 style=\\\"padding-left: 40px;\\\">\u5b89\u88c5\u914d\u7f6e<\/h1>\n<ul>\n<li>\n<h2><strong>\u5907\u4efd<\/strong><\/h2>\n<\/li>\n<\/ul>\n<pre class=\\\"rich-text editor-rich-text__editable block-editor-rich-text__editable is-selected\\\" role=\\\"textbox\\\" contenteditable=\\\"true\\\" aria-multiline=\\\"true\\\" aria-label=\\\"\u7f16\u5199\u9884\u683c\u5f0f\u5316\u6587\u672c\u2026\\\">mv \/etc\/yum.repos.d\/epel.repo \/etc\/yum.repos.d\/epel.repo.backup<br data-rich-text-line-break=\\\"true\\\" \/>mv \/etc\/yum.repos.d\/epel-testing.repo \/etc\/yum.repos.d\/epel-testing.repo.backup<\/pre>\n<h2 style=\\\"padding-left: 40px;\\\"><strong>\u4e0b\u8f7d\u963f\u91cc\u4e91 repo \u5230 \/etc\/yum.repos.d\/ \u4e2d<\/strong><\/h2>\n<ul>\n<li>EPEL (RHEL 5)<\/li>\n<\/ul>\n<pre class=\\\"rich-text editor-rich-text__editable block-editor-rich-text__editable is-selected\\\" role=\\\"textbox\\\" contenteditable=\\\"true\\\" aria-multiline=\\\"true\\\" aria-label=\\\"\u7f16\u5199\u9884\u683c\u5f0f\u5316\u6587\u672c\u2026\\\">wget -O \/etc\/yum.repos.d\/epel.repo http:\/\/mirrors.aliyun.com\/repo\/epel-5.repo<\/pre>\n<ul>\n<li>EPEL (RHEL 6)<\/li>\n<\/ul>\n<pre class=\\\"rich-text editor-rich-text__editable block-editor-rich-text__editable is-selected\\\" role=\\\"textbox\\\" contenteditable=\\\"true\\\" aria-multiline=\\\"true\\\" aria-label=\\\"\u7f16\u5199\u9884\u683c\u5f0f\u5316\u6587\u672c\u2026\\\">wget -O \/etc\/yum.repos.d\/epel.repo http:\/\/mirrors.aliyun.com\/repo\/epel-6.repo<\/pre>\n<ul>\n<li>EPEL (RHEL 7)<\/li>\n<\/ul>\n<pre class=\\\"rich-text editor-rich-text__editable block-editor-rich-text__editable is-selected\\\" role=\\\"textbox\\\" contenteditable=\\\"true\\\" aria-multiline=\\\"true\\\" aria-label=\\\"\u7f16\u5199\u9884\u683c\u5f0f\u5316\u6587\u672c\u2026\\\">wget -O \/etc\/yum.repos.d\/epel.repo http:\/\/mirrors.aliyun.com\/repo\/epel-7.repo<\/pre>\n<ul>\n<li>EPEL (RHEL 8)<\/li>\n<\/ul>\n<p style=\\\"padding-left: 40px;\\\">\u5b89\u88c5EPEL\u914d\u7f6e\u5305<\/p>\n<pre data-spm-anchor-id=\\\"a2c6h.13651104.0.i8.15e85301iuFGoZ\\\">yum install -y https:\/\/mirrors.aliyun.com\/epel\/epel-release-latest-8.noarch.rpm<\/pre>\n<p style=\\\"padding-left: 40px;\\\">\u66ff\u6362repo\u4e2d\u7684\u5730\u5740\u4e3a\u963f\u91cc\u4e91\u955c\u50cf\u6e90\u5730\u5740<\/p>\n<pre class=\\\"rich-text editor-rich-text__editable block-editor-rich-text__editable is-selected\\\" role=\\\"textbox\\\" contenteditable=\\\"true\\\" aria-multiline=\\\"true\\\" aria-label=\\\"\u7f16\u5199\u9884\u683c\u5f0f\u5316\u6587\u672c\u2026\\\">sed -i \\'s|^#baseurl=https:\/\/download.fedoraproject.org\/pub|baseurl=https:\/\/mirrors.aliyun.com|\\' \/etc\/yum.repos.d\/epel*<br data-rich-text-line-break=\\\"true\\\" \/>\nsed -i \\'s|^metalink|#metalink|\\' \/etc\/yum.repos.d\/epel*<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>EPEL\u4ecb\u7ecd EPEL (Extra Packages for Enterprise Linux), \u662f\u7531 F &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"http:\/\/www.weijing.co\/?p=1114\"> <span class=\"screen-reader-text\">Epel \u955c\u50cf\u6e90<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[102],"tags":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"mailpoet_newsletter_max":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false,"shop_catalog":false,"shop_single":false,"shop_thumbnail":false},"uagb_author_info":{"display_name":"weijing","author_link":"http:\/\/www.weijing.co\/?author=4"},"uagb_comment_info":0,"uagb_excerpt":"EPEL\u4ecb\u7ecd EPEL (Extra Packages for Enterprise Linux), \u662f\u7531 F&hellip;","_links":{"self":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts\/1114"}],"collection":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1114"}],"version-history":[{"count":0,"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts\/1114\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1114"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}