红联Linux门户
Linux帮助

激活centos每日的自动更新

发布时间:2008-01-22 12:39:59来源:红联作者:relaaxx
su -c '/sbin/chkconfig --level 345 yum on; /sbin/service yum start'
输入root密码,就OK啦
关闭自动更新: chkconfig yum-updatesd off

[ 本帖最后由 relaaxx 于 2008-1-22 12:41 编辑 ]
文章评论

共有 9 条评论

  1. gxf 于 2008-01-22 20:39:04发表:

    crontab有点像WINDOWS下的“任务与计划”

  2. marco.chan 于 2008-01-22 20:30:01发表:

    引用:
    原帖由 gxf 于 2008-1-22 13:03 发表
    恩,服务器总不能天天来更新系统


    同意!我的服务器都是手动去更新的!
    如果你很懒,写个只需要几行代码的脚本挂在crontab 上就好了,一般半个月执行一次就够了!

  3. relaaxx 于 2008-01-22 16:14:36发表:

    How long will CentOS 5 be supported?
    We intend to support CentOS 5 until Mar 31st, 2014 The current plan is this:

    Full Updates (including hardware updates): Currently to Mar 31st, 2010

    Maintenance Updates Apr 1st, 2010 - Mar 31st, 2014

    Full Updates
    During the Full Updates phase, new hardware support will be provided at the discretion of CentOS via Update Sets. Additionally, all available and qualified errata will be provided via Update Sets (or individually {and immediately} for Security level errata.) Update Sets normally will be released 2-4 times per year, with new ISOs released as part of each Update Set. In the 5.x numbering scheme, the .x is the number of the Update Set.
    Maintenance Updates
    During the Maintenance updates phase, only Security errata and select mission critical bug fixes will be released. There will be few, if any, Update Sets released.
    http://wiki.centos.org/FAQ/CentOS5#q5

  4. gxf 于 2008-01-22 13:06:24发表:

    引用:
    原帖由 奶茶dsk 于 2008-1-22 12:55 发表
    呵呵..装个显卡驱动死活弄不好......

    呵呵,我不装驱动了,否则又要装war3了,好像源里没有现成的驱动,还要自己手动改xorg.conf文件,也懒得弄了,多学学服务器方面的配置更好些

  5. gxf 于 2008-01-22 13:03:59发表:

    恩,服务器总不能天天来更新系统

  6. relaaxx 于 2008-01-22 12:55:39发表:

    centos 一个月没动静是好正常的,这正是我们想要的系统,不象F8;(6)m:b

  7. 奶茶dsk 于 2008-01-22 12:55:05发表:

    呵呵..装个显卡驱动死活弄不好......

  8. gxf 于 2008-01-22 12:53:42发表:

    往往执行一次yum check-update后就很少看到yum check-update有什么结果了

  9. lgms2008 于 2008-01-22 12:43:45发表:

    虽然不用,但领教了