{"id":63,"date":"2013-05-23T10:18:00","date_gmt":"2013-05-23T01:18:00","guid":{"rendered":"http:\/\/yokensaka.com\/centos\/?p=63"},"modified":"2014-07-19T20:18:36","modified_gmt":"2014-07-19T11:18:36","slug":"%e3%83%91%e3%83%83%e3%82%b1%e3%83%bc%e3%82%b8%e7%ae%a1%e7%90%86yum","status":"publish","type":"post","link":"http:\/\/yokensaka.com\/centos\/?p=63","title":{"rendered":"\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406(yum)"},"content":{"rendered":"<p>yum(Yellow dog Updater, Modified)\u306f\u3001RPM\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u64cd\u4f5c\u3059\u308b\u70ba\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3002 yum\u3067\u306f\u3001\u4f9d\u5b58\u95a2\u4fc2\u304c\u3042\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u81ea\u52d5\u7684\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002\u307e\u305f\u3001yum\u3092\u5229\u7528\u3059\u308b\u4e8b\u306b\u3088\u3063\u3066\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u30db\u30fc\u30eb\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3084\u3001\u30d0\u30b0\u30d5\u30a3\u30c3\u30af\u30b9\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u3001\u3088\u308a\u7c21\u5358\u306b\u884c\u3046\u4e8b\u304c\u53ef\u80fd\u3002\u3055\u3089\u306b\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3082\u3001\u3088\u308a\u7c21\u5358\u306b\u884c\u3046\u4e8b\u304c\u53ef\u80fd\u3002<br \/>\n<b>\u25a0\u3000\u30ec\u30dd\u30b8\u30c8\u30ea\u306b\u3064\u3044\u3066<\/b><br \/>\nRedHat\u306e\u30b5\u30dd\u30fc\u30c8\u3059\u308bEPEL\u3068CentOS\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u591a\u304f\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308bRepoForge\u3092\u8ffd\u52a0\u3059\u308b\u4e8b\u306b\u3059\u308b\u3002<br \/>\nExtra Packages for Enterprise Linux (EPEL) \u3068\u306f\u5f93\u6765 Fedora \u3060\u3051\u306b\u63d0\u4f9b\u3055\u308c\u3066\u3044\u305f Fedora Extras \u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092 Red Hat Enterprise Linux (RHEL) \u306b\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001 Fedora \u304b\u3089 RHEL \u3078\u306e\u79fb\u884c\u3084\u3001 Fedora \u304b\u3089 CentOS \u3084 Scientific Linux \u7b49\u306e RHEL \u30af\u30ed\u30fc\u30f3\u3078\u306e\u79fb\u884c\u3092\u5bb9\u6613\u306b\u3059\u308b\u305f\u3081\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3002Repoforge\u3068\u306f\u3001\u4ee5\u524d\u306eRPMforge\u306e\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u3067\u3001CentOS\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u591a\u304f\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3002\u306a\u304a\u3001\u6a19\u6e96\u30ea\u30dd\u30b8\u30c8\u30ea\u3068EPEL\u30ea\u30dd\u30b8\u30c8\u30ea\u3001Repoforge\u306e\u4e21\u65b9\u3067\u63d0\u4f9b\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u3064\u3044\u3066\u306f\u3001\u6a19\u6e96\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u512a\u5148\u3055\u308c\u308b\u3088\u3046\u306byum-priorities\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5c0e\u5165\u3059\u308b\u3002<br \/>\n<b>\u25a0 yum-priorities\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/b><br \/>\nyum-plugin-priorities\u3068\u306f\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u305f\u969b\u306b\u3069\u3061\u3089\u3092\u512a\u5148\u3059\u308b\u304b\u512a\u5148\u9806\u4f4d\u3092\u3064\u3051\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3002<\/p>\n<pre>\r\n[root@server1 ~]# yum -y install yum-plugin-priorities\r\n<\/pre>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\/etc\/yum\/pluginconf.d\/priorities.conf\u3092\u5909\u66f4<\/p>\n<pre>\r\n[root@server1 ~]# vi \/etc\/yum\/pluginconf.d\/priorities.conf\r\n[main]\r\nenabled = 1\r\ncheck_obsoletes = 1\u3000\u2190\u3000\u8ffd\u52a0\r\n<\/pre>\n<p><b>\u25a0 CentOS-Base.repo\u306e\u7de8\u96c6<\/b><br \/>\nCentOS-Base.repo\u306f\u512a\u5148\u5ea6\u3092\u9ad8\u304f(priority=1)\u3057\u3066\u304a\u304f\u3002<\/p>\n<pre>\r\n[root@server1 ~]# vi \/etc\/yum.repos.d\/CentOS-Base.repo\r\n# CentOS-Base.repo\r\n#\r\n# The mirror system uses the connecting IP address of the client and the\r\n# update status of each mirror to pick mirrors that are updated to and\r\n# geographically close to the client.  You should use this for CentOS updates\r\n# unless you are manually picking other mirrors.\r\n#\r\n# If the mirrorlist= does not work for you, as a fall back you can try the\r\n# remarked out baseurl= line instead.\r\n#\r\n#\r\n[base]\r\npriority=1\u3000\u2190\u3000\u8ffd\u52a0\u3000priority\u3068\u306f\u512a\u5148\u5ea6\u3067\u30011\u306e\u65b9\u304c\u512a\u5148\u5ea6\u306f\u9ad8\u304f\u306a\u308b\u3002(\u672a\u8a2d\u5b9a\u306e\u5834\u5408\u306f99)\r\nname=CentOS-$releasever - Base\r\nmirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&arch=$basearch&repo=os\r\n#baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\/os\/$basearch\/\r\ngpgcheck=1\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-6\r\n#released updates\r\n[updates]\r\npriority=1\u3000\u2190\u3000\u8ffd\u52a0\r\nname=CentOS-$releasever - Updates\r\nmirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&arch=$basearch&repo=updates\r\n#baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\/updates\/$basearch\/\r\ngpgcheck=1\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-6\r\n#additional packages that may be useful\r\n[extras]\r\npriority=1\u3000\u2190\u3000\u8ffd\u52a0\r\nname=CentOS-$releasever - Extras\r\nmirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&arch=$basearch&repo=extras\r\n#baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\/extras\/$basearch\/\r\ngpgcheck=1\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-6\r\n#additional packages that extend functionality of existing packages\r\n[centosplus]\r\npriority=1\u3000\u2190\u3000\u8ffd\u52a0\r\nname=CentOS-$releasever - Plus\r\nmirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&arch=$basearch&repo=centosplus\r\n#baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\/centosplus\/$basearch\/\r\ngpgcheck=1\r\nenabled=1\u3000\u2190\u30000\u304b\u30891\u306b\u5909\u66f4\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-6\r\n#contrib - packages by Centos Users\r\n[contrib]\r\nname=CentOS-$releasever - Contrib\r\nmirrorlist=http:\/\/mirrorlist.centos.org\/?release=$releasever&arch=$basearch&repo=contrib\r\n#baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\/contrib\/$basearch\/\r\ngpgcheck=1\r\nenabled=0\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-6\r\n<\/pre>\n<p><b>\u25a0 EPEL\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/b><br \/>\n\u203b\u3053\u306e\u30b5\u30a4\u30c8\u306ephpMyAdmin\u3001Clam AntiVirus\u306fEPEL\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u3082\u306e\u3092\u4f7f\u3063\u3066\u3044\u308b\u3002<\/p>\n<pre>\r\n[root@server1 ~]# rpm --import http:\/\/dl.fedoraproject.org\/pub\/epel\/RPM-GPG-KEY-EPEL-6\r\n[root@server1 ~]# rpm -ivh http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/i386\/epel-release-6-8.noarch.rpm\r\n[root@server1 ~]# rm -f epel-release-*\u3000\u2190\u3000\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\r\n<\/pre>\n<p>\u203b64Bit\u7248\u306f<a href=\"http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm\">http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm<\/a>\u3053\u3061\u3089<br \/>\n<b>\u25a0 epel.repo\u3092\u78ba\u8a8d<\/b><br \/>\nEPEL\u306f\u512a\u5148\u5ea6\u3092\u4f4e\u304f(priority\u672a\u8a2d\u5b9a)\u3057\u3066\u6709\u52b9(enabled=1)\u306b\u8a2d\u5b9a\u3002<\/p>\n<pre>\r\n[root@server1 ~]# vi \/etc\/yum.repos.d\/epel.repo\r\n[epel]\r\nname=Extra Packages for Enterprise Linux 6 - $basearch\r\n#baseurl=http:\/\/download.fedoraproject.org\/pub\/epel\/6\/$basearch\r\nmirrorlist=https:\/\/mirrors.fedoraproject.org\/metalink?repo=epel-6&arch=$basearch\r\nfailovermethod=priority\r\nenabled=1\u3000\u2190\u30001\u306b\u306a\u3063\u3066\u308b\u3053\u3068\u3092\u78ba\u8a8d\r\ngpgcheck=1\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-EPEL-6\r\n[epel-debuginfo]\r\nname=Extra Packages for Enterprise Linux 6 - $basearch - Debug\r\n#baseurl=http:\/\/download.fedoraproject.org\/pub\/epel\/6\/$basearch\/debug\r\nmirrorlist=https:\/\/mirrors.fedoraproject.org\/metalink?repo=epel-debug-6&arch=$basearch\r\nfailovermethod=priority\r\nenabled=0\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-EPEL-6\r\ngpgcheck=1\r\n[epel-source]\r\nname=Extra Packages for Enterprise Linux 6 - $basearch - Source\r\n#baseurl=http:\/\/download.fedoraproject.org\/pub\/epel\/6\/SRPMS\r\nmirrorlist=https:\/\/mirrors.fedoraproject.org\/metalink?repo=epel-source-6&arch=$basearch\r\nfailovermethod=priority\r\nenabled=0\r\ngpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-EPEL-6\r\ngpgcheck=1\r\n<\/pre>\n<p><b>\u25a0 Repoforge\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/b><br \/>\n\u203b\u3053\u306e\u30b5\u30a4\u30c8\u306eAwstats\u306f Repoforg\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u3082\u306e\u3092\u4f7f\u3063\u3066\u3044\u308b<\/p>\n<pre>\r\n[root@server1 ~]# rpm --import http:\/\/apt.sw.be\/RPM-GPG-KEY.dag.txt\r\n[root@server1 ~]# rpm -ivh http:\/\/pkgs.repoforge.org\/rpmforge-release\/rpmforge-release-0.5.2-2.el6.rf.i686.rpm\r\n[root@server1 ~]# rm -f rpmforge-release-*\u3000\u2190\u3000\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\r\n<\/pre>\n<p>\u203b64Bit\u7248\u306f<a href=\"http:\/\/pkgs.repoforge.org\/rpmforge-release\/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm\">http:\/\/pkgs.repoforge.org\/rpmforge-release\/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm<\/a>\u3053\u3061\u3089<br \/>\n<b>\u25a0 Repoforge\u3092\u78ba\u8a8d<\/b><br \/>\nRpmforge\u306f\u5fc5\u8981\u306a\u3068\u304d\u3060\u3051\u4f7f\u3046\u306e\u3067\u512a\u5148\u5ea6\u3092\u9ad8\u304f(priority=1)\u3057\u3066\u7121\u52b9(enabled=0)\u306b\u8a2d\u5b9a\u3002<\/p>\n<pre>\r\n[root@server1 ~]# vi \/etc\/yum.repos.d\/rpmforge.repo\r\n### Name: RPMforge RPM Repository for RHEL 6 - dag\r\n### URL: http:\/\/rpmforge.net\/\r\n[rpmforge]\r\nname = RHEL $releasever - RPMforge.net - dag\r\nbaseurl = http:\/\/apt.sw.be\/redhat\/el6\/en\/$basearch\/rpmforge\r\nmirrorlist = http:\/\/apt.sw.be\/redhat\/el6\/en\/mirrors-rpmforge\r\n#mirrorlist = file:\/\/\/etc\/yum.repos.d\/mirrors-rpmforge\r\nenabled = 0\u3000\u2190\u30000\u3000\u5fc5\u8981\u306a\u3068\u304d\u3060\u3051\u306b 1 \u306b\u8a2d\u5b9a\r\nprotect = 0\r\ngpgkey = file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-rpmforge-dag\r\ngpgcheck = 1\r\npriority = 1\u3000\u2190\u3000\u8ffd\u52a0\u30001\u306e\u65b9\u304c\u512a\u5148\u5ea6\u306f\u9ad8\u304f\u306a\u308b\u3002(\u672a\u8a2d\u5b9a\u306e\u5834\u5408\u306f99)\r\n[rpmforge-extras]\r\nname = RHEL $releasever - RPMforge.net - extras\r\nbaseurl = http:\/\/apt.sw.be\/redhat\/el6\/en\/$basearch\/extras\r\nmirrorlist = http:\/\/apt.sw.be\/redhat\/el6\/en\/mirrors-rpmforge-extras\r\n#mirrorlist = file:\/\/\/etc\/yum.repos.d\/mirrors-rpmforge-extras\r\nenabled = 0\r\nprotect = 0\r\ngpgkey = file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-rpmforge-dag\r\ngpgcheck = 1\r\n[rpmforge-testing]\r\nname = RHEL $releasever - RPMforge.net - testing\r\nbaseurl = http:\/\/apt.sw.be\/redhat\/el6\/en\/$basearch\/testing\r\nmirrorlist = http:\/\/apt.sw.be\/redhat\/el6\/en\/mirrors-rpmforge-testing\r\n#mirrorlist = file:\/\/\/etc\/yum.repos.d\/mirrors-rpmforge-testing\r\nenabled = 0\r\nprotect = 0\r\ngpgkey = file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-rpmforge-dag\r\ngpgcheck = 1\r\n<\/pre>\n<p><b>\u25a0\u3000yum\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u60c5\u5831\u66f4\u65b0<\/b><br \/>\n\u30ed\u30fc\u30ab\u30eb\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308brpm\u30d8\u30c3\u30c0\u60c5\u5831\u3092\u6700\u65b0\u306e\u60c5\u5831\u306b\u66f4\u65b0\u3002<\/p>\n<pre>\r\nyum\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u60c5\u5831\u66f4\u65b0\r\n[root@server1 ~]# yum list\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u78ba\u8a8d\r\n[root@server1 ~]# yum list installed\r\n<\/pre>\n<p><b>\u25a0\u3000\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u60c5\u5831\u306e\u78ba\u8a8d<\/b><\/p>\n<pre>\r\n\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u60c5\u5831\u306e\u78ba\u8a8d\r\n[root@server1 ~]# yum check-update\r\n<\/pre>\n<p><b>\u25a0\u3000\u4e00\u62ec\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8<\/b><br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5168\u3066\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3002<\/p>\n<pre>\r\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4e00\u62ec\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\r\n[root@server1 ~]# yum update\r\n\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u3088\u3044\u304b\u306e\u554f\u3044\u5408\u308f\u305b\u306b\u5168\u3066\" y \"\u3067\u56de\u7b54\u3059\u308b\u305f\u3081\u306b\u306f -y \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3002\r\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4e00\u62ec\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\r\n[root@server1 ~]# yum -y update\r\n<\/pre>\n<p><b>\u25a0\u3000yum\u306b\u3088\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u66f4\u65b0\u6642\u306b\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u5834\u5408<\/b><br \/>\nyum\u30b3\u30de\u30f3\u30c9\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u66f4\u65b0\u3092\u884c\u3063\u305f\u969b\u306b\u3001\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u3002\u3053\u308c\u306fyum\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u58ca\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u8003\u3048\u3089\u308c\u308b\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066yum\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30af\u30ea\u30a2\u3057\u3066\u307f\u308b\u3002<\/p>\n<pre>\r\n[root@server1 ~]#  yum clean all\r\n[root@server1 ~]#  yum update\r\n<\/pre>\n<p><b>\u25a0\u3000\u305d\u306e\u4ed6\u306e\u30b3\u30de\u30f3\u30c9<\/b><\/p>\n<pre>\r\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n[root@server1 ~]# yum install \u30d1\u30c3\u30b1\u30fc\u30b8\u540d\r\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\r\n[root@server1 ~]# yum update \u30d1\u30c3\u30b1\u30fc\u30b8\u540d\r\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u691c\u7d22\r\n[root@server1 ~]# yum search \u30d1\u30c3\u30b1\u30fc\u30b8\u540d\r\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8a73\u7d30\u8868\u793a\r\n[root@server1 ~]# yum info \u30d1\u30c3\u30b1\u30fc\u30b8\u540d\r\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n[root@server1 ~]# yum remove \u30d1\u30c3\u30b1\u30fc\u30b8\u540d\r\n<\/pre>\n<p><b>\u25a0\u3000yum\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u81ea\u52d5\u66f4\u65b0\u8a2d\u5b9a<\/b><br \/>\nCentOS 5 \u306f yum-updatesd \u3060\u3063\u305f\u304c CentOS 6 \u3067\u306f yum-cron \u306b\u5909\u308f\u3063\u305f\u306e\u3067 yum-cron \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre>\r\nyum-cron \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n[root@server1 ~]# yum -y install yum-cron\r\n\u30d1\u30c3\u30b1\u30fc\u30b8\u81ea\u52d5\u66f4\u65b0 yum-cron \u306e\u8d77\u52d5\r\n[root@server1 ~]# \/etc\/rc.d\/init.d\/yum-cron start\r\n\u591c\u9593 yum \u66f4\u65b0\u306e\u6709\u52b9\u5316\u4e2d:                                   [  OK  ]\r\n\u30d1\u30c3\u30b1\u30fc\u30b8\u81ea\u52d5\u66f4\u65b0 yum-cron \u306e\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\r\n[root@server1 ~]# chkconfig yum-cron on\r\n[root@server1 ~]# chkconfig --list yum-cron\r\nyum-cron        0:off   1:off   2:on    3:on    4:on    5:on    6:off\r\n\u30b5\u30fc\u30d0\u7ba1\u7406\u306b\u5fc5\u8981\u306a\u30d9\u30fc\u30b9\u30d1\u30c3\u30b1\u30fc\u30b8\u7fa4\u3068\u958b\u767a\u30c4\u30fc\u30eb\u30d1\u30c3\u30b1\u30fc\u30b8\u7fa4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n[root@server1 ~]# yum -y groupinstall \"Base\" \"Development tools\"\r\n<\/pre>\n<div align=right><a href=\"#\">\u25b2 \u30da\u30fc\u30b8\u30c8\u30c3\u30d7\u3078<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>yum(Yellow dog Updater, Modified)\u306f\u3001RPM\u30d1\u30c3 &hellip; <a href=\"http:\/\/yokensaka.com\/centos\/?p=63\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-63","post","type-post","status-publish","format-standard","hentry","category-yum"],"_links":{"self":[{"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/posts\/63","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=63"}],"version-history":[{"count":1,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/posts\/63\/revisions"}],"predecessor-version":[{"id":242,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/posts\/63\/revisions\/242"}],"wp:attachment":[{"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=63"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=63"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=63"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}