{"id":806,"date":"2015-02-12T19:52:06","date_gmt":"2015-02-12T10:52:06","guid":{"rendered":"http:\/\/darkgray.homelinux.com\/modules\/xpress\/?p=806"},"modified":"2015-02-12T19:52:06","modified_gmt":"2015-02-12T10:52:06","slug":"yum%e3%80%80%e8%a8%ad%e5%ae%9a%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/darkgray.homelinux.com\/blog\/?p=806","title":{"rendered":"yum\u3000\u8a2d\u5b9a\u30e1\u30e2"},"content":{"rendered":"<p>\u73fe\u5728\u3000\u30b5\u30fc\u30d0\u30fcOS\u66f4\u65b0\u6e96\u5099\u306e\u70ba\u3000CentOS7.0\u3092\u30c6\u30b9\u30c8\u4e2d<br \/>\n\u4eca\u56de\u306f\u3000\u30c6\u30b9\u30c8\u4e2d\u306e\u65b0\u30b5\u30fc\u30d0\u30fc\u3067\u306eyum\u8a2d\u5b9a\u30e1\u30e2\u3002<br \/>\n<!--more--><\/p>\n<p>\u30c7\u30d5\u30a9\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u72b6\u614b\u3067yum\u306f\u3000CentOS\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u898b\u306b\u884c\u304f\u3002\u3000\u305d\u308c\u3060\u3051\u3067\u306f\u30b5\u30fc\u30d0\u30fc\u3092\u904b\u7528\u3059\u308b\u306b\u306f\u30d5\u30a1\u30a4\u30eb\u304c\u8db3\u308a\u306a\u3044\u306e\u3067\u3000RPMforge,EPEL\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3082\u7121\u6761\u4ef6\u306b\u898b\u306b\u884c\u304f\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3042\u308b\u3002<\/p>\n<p>\u8907\u6570\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u540c\u6642\u306b\u898b\u306b\u884c\u304f\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u308b\u3068\u3000\u3069\u3046\u3057\u3066\u3082\u30d5\u30a1\u30a4\u30eb\u306e\u7af6\u5408\u304c\u767a\u751f\u3057\u3066\u3000\u4e0a\u624b\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3084\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u51fa\u6765\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u3002<\/p>\n<p>\u7af6\u5408\u3092\u9632\u3050\u306b\u306f\u3000\u305d\u306e\u90fd\u5ea6\u3000\u62e1\u5f35\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30a4\u30cd\u30fc\u30d6\u30eb\uff0f\u30c7\u30a3\u30bb\u30fc\u30d6\u30eb\u3057\u3066\u3000\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\uff0f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u8a00\u3046\u306e\u304c\u4e00\u822c\u7684\u306a\u5bfe\u51e6\u6cd5\u306e\u3088\u3046\u3060\u3002<br \/>\n[code]# yum &#8211;disablerepo=rpmforge update[\/code]<br \/>\n\u3057\u304b\u3057\u3000\u3053\u308c\u3067\u306f\u81ea\u52d5\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u304d\u306a\u3044\u3002\u3000\u4e00\u3005\u3000\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306e\u5ea6\u306b\u3000\u30a4\u30cd\u30fc\u30d6\u30eb\u3060\u306e\u30c7\u30a3\u30bb\u30fc\u30d6\u30eb\u3060\u306e\u3084\u3063\u3066\u305f\u306e\u3067\u306f\u624b\u9593\u3067\u3057\u3087\u3046\u304c\u306a\u3044\u3002\u3000\u81ea\u52d5\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u304d\u306a\u3051\u308c\u3070\u3000yum\u306e\u65e8\u307f\u306f\u306a\u3044\u3002<\/p>\n<p>\u4eca\u56de\u3000clamd\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u7af6\u5408\u3057\u305f\u306e\u3067\u3000\u79c1\u306a\u308a\u306e\u89e3\u6c7a\u6cd5\u3092\u66f8\u3044\u3066\u304a\u304f\u3002<br \/>\n\u73fe\u5728\u3000clamd\u306e\u30a2\u30d7\u30ea\u304c\u767b\u9332\u3055\u308c\u3066\u308b\u306e\u306f\u3000RPMforge\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3060\u3051\u306e\u3088\u3046\u3060\u3002\u3000\u305d\u3053\u3067\u3000clamd\u3068clamav\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff0f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u6642\u306f\u3000EPER\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u898b\u306b\u884c\u304b\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u307f\u308b\u3002<br \/>\n\/etc\/yum.repos.d\/epel.repo\u306b\u3000\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3000\u6700\u4e0b\u884c\u306bexclude\u306e\u884c\u3092\u8ffd\u52a0\u3059\u308b\u3002\u3000<br \/>\n[code]<br \/>\n[epel]<br \/>\nname=Extra Packages for Enterprise Linux 7 &#8211; $basearch<br \/>\n#baseurl=http:\/\/download.fedoraproject.org\/pub\/epel\/7\/$basearch<br \/>\nmirrorlist=https:\/\/mirrors.fedoraproject.org\/metalink?repo=epel-7&amp;arch=$basearch<br \/>\nfailovermethod=priority<br \/>\nenabled=1<br \/>\ngpgcheck=1<br \/>\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-EPEL-7<br \/>\npriority=11<br \/>\nexclude=clamd* clamav*<br \/>\n[\/code]<\/p>\n<p>\u3053\u308c\u3067\u3000\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u51fa\u6765\u305f\u3002\u3000\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3082\u51fa\u6765\u308b\u3068\u601d\u3046\u3002\u3000\u51fa\u6765\u305f\u3089\u826f\u3044\u306a\u3041\uff5e\uff5e\u3002\u3000\uff08\u6c57<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73fe\u5728\u3000\u30b5\u30fc\u30d0\u30fcOS\u66f4\u65b0\u6e96\u5099\u306e\u70ba\u3000CentOS7.0\u3092\u30c6\u30b9\u30c8\u4e2d \u4eca\u56de\u306f\u3000\u30c6\u30b9\u30c8\u4e2d\u306e\u65b0\u30b5\u30fc\u30d0\u30fc\u3067\u306eyum\u8a2d\u5b9a\u30e1\u30e2\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-806","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/806","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=806"}],"version-history":[{"count":0,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/806\/revisions"}],"wp:attachment":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=806"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=806"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}