{"id":570,"date":"2014-05-20T17:12:21","date_gmt":"2014-05-20T08:12:21","guid":{"rendered":"http:\/\/darkgray.homelinux.com\/modules\/xpress\/?p=570"},"modified":"2014-05-20T17:12:21","modified_gmt":"2014-05-20T08:12:21","slug":"clamd%e3%82%92%e6%89%8b%e5%8b%95%e3%81%a7%e6%9b%b4%e6%96%b0%e3%81%99%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/darkgray.homelinux.com\/blog\/?p=570","title":{"rendered":"clamd\u3092\u624b\u52d5\u3067\u66f4\u65b0\u3059\u308b\u3002"},"content":{"rendered":"<p>\u3000\u5f53\u30b5\u30fc\u30d0\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u66f4\u65b0\u306b\u95a2\u3059\u308b\u57fa\u672c\u30dd\u30ea\u30b7\u30fc\u306f\u300c\u5168\u3066yum\u306e\u81ea\u52d5\u66f4\u65b0\u306b\u4efb\u305b\u308b\u3002\u300d\u3068\u3044\u3046\u4e8b\u3002<br \/>\n\u5f8c\u3005\u304c\u624b\u9593\u306b\u306a\u308b\u306e\u3067\u3000\u30d3\u30eb\u30c9\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3084\u308a\u305f\u304f\u306a\u3044\uff01<br \/>\n<!--more--><\/p>\n<p>\u3000\u306a\u308b\u3079\u304f\u591a\u304f\u306e\u30a2\u30d7\u30ea\u3092yum\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3044\u70ba\u3000\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u57fa\u672c\u8a2d\u5b9a\u306b\u52a0\u3048\u3066epel\u3068rpmforge\u3092\u767b\u9332\u3057\u3066\u3042\u308b\u3002<\/p>\n<p>\u3000\u5148\u65e5\u304b\u3089\u6bce\u65e5\u66f4\u65b0\u306b\u5931\u6557\u3057\u3066\u308b\u3063\u3066\u30ec\u30dd\u30fc\u30c8\u30e1\u30fc\u30eb\u304c\u5c4a\u3044\u3066\u305f\u3002\u30ec\u30dd\u30fc\u30c8\u306e\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<br \/>\n\u3069\u3046\u3082\u3000epel\u3068rpmforge\u306b\u540c\u3058\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u5b58\u5728\u3059\u308b\u70ba\u3000\u4e0a\u624b\u304f\u66f4\u65b0\u3067\u304d\u3066\u3044\u306a\u3044\u6a21\u69d8\u3002<br \/>\n[code]<br \/>\nError: Package: amavisd-new-2.8.0-8.el6.noarch (@epel)<br \/>\n    Requires: \/etc\/clamd.d<br \/>\n    Removing: clamd-0.98.1-1.el6.x86_64 (@epel)<br \/>\n        Not found<br \/>\n    Updated By: clamd-0.98.3-1.el6.rf.x86_64 (rpmforge)<br \/>\n        Not found<br \/>\n[\/code]<\/p>\n<p>\u8272\u3005\u8a66\u3057\u3066\u307f\u305f\u7d50\u679c\u3000\u4e00\u6642\u7684\u306brpmforge\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5916\u3057\u3066\u3000\u624b\u52d5\u3067\u66f4\u65b0\u3059\u308b\u3068\u3000\u4e0a\u624b\u304f\u884c\u3063\u305f\u3002<br \/>\n[code]<br \/>\n[]# yum &#8211;disablerepo=rpmforge update clamd<br \/>\n[\/code]<\/p>\n<p>\u3053\u308c\u3067\u3000\u30ec\u30dd\u30fc\u30c8\u30e1\u30fc\u30eb\u304c\u3069\u3046\u306a\u308b\u304b\u30fb\u30fb\u30fb\u3000\u4f8b\u306b\u3088\u3063\u3066\u3057\u3070\u3089\u304f\u69d8\u5b50\u898b\u3060\u306a\uff5e<\/p>\n<p>\u4e0a\u8a18\u306e\u5bfe\u5fdc\u3067\u306f\u3000\u30a8\u30e9\u30fc\u30ec\u30dd\u30fc\u30c8\u30e1\u30fc\u30eb\u306f\u76f8\u5909\u308f\u3089\u305a\u9001\u3089\u308c\u3066\u304f\u308b\u3002<br \/>\n\u540c\u3058\u30a2\u30d7\u30ea\u304c\u3000epel\u3068rpmforge\u306e\u4e21\u65b9\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u3042\u3063\u3066\u6df7\u4e71\u3057\u3066\u308b\u3093\u3060\u308d\u3046\u306a\u30fb\u30fb\u30fb<\/p>\n<p>clamd\u3068amavisd-new\u306b\u95a2\u3057\u3066\u306f\u3000epel\u3092\u63a1\u7528\u3057\u3066\u3000rpmforge\u3092\u30de\u30b9\u30af\u3059\u308b\u3002<br \/>\n\u5e78\u3044\u306a\u3053\u3068\u306b\u3000rpmforge\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u306b&#8221;rf&#8221;\u306e\u6587\u5b57\u304c\u5165\u3063\u3066\u308b\u306e\u3067\u3053\u308c\u3092\u30ad\u30fc\u30ef\u30fc\u30c9\u306b\u3057\u3066\u30de\u30b9\u30af\u3059\u308b\u3002<br \/>\n[code]<br \/>\n[]$ sudo vi \/etc\/yum.conf<br \/>\n# yum.conf\u306b\u4ee5\u4e0b\u306e\u884c\u3092\u8ffd\u52a0\u3059\u308b\u3002<br \/>\nexclude= clam*.rf.* , amavisd-new*.rf.*<br \/>\n[\/code]<br \/>\n\u3082\u4e00\u56de\u69d8\u5b50\u898b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u5f53\u30b5\u30fc\u30d0\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u66f4\u65b0\u306b\u95a2\u3059\u308b\u57fa\u672c\u30dd\u30ea\u30b7\u30fc\u306f\u300c\u5168\u3066yum\u306e\u81ea\u52d5\u66f4\u65b0\u306b\u4efb\u305b\u308b\u3002\u300d\u3068\u3044\u3046\u4e8b\u3002 \u5f8c\u3005\u304c\u624b\u9593\u306b\u306a\u308b\u306e\u3067\u3000\u30d3\u30eb\u30c9\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3084\u308a\u305f\u304f\u306a\u3044\uff01<\/p>\n","protected":false},"author":2,"featured_media":578,"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":[3,5],"tags":[67],"class_list":["post-570","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos-setup","category-darkgray-server","tag-yum"],"_links":{"self":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/570","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=570"}],"version-history":[{"count":0,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/570\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/578"}],"wp:attachment":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}