2015-10-16

[SOLVED]yum-disable-auto-update

8:12 25/03/2015
#######
root@srv148 ~# tail -f /var/log/messages
.......
Mar 25 04:03:00 srv148 yum[31742]: Updated: openssl-1.0.1e-30.el6_6.7.x86_64
Mar 25 04:03:01 srv148 yum[31742]: Updated: openssl-devel-1.0.1e-30.el6_6.7.x86_64
Mar 25 04:03:03 srv148 yum[31742]: Updated: tzdata-2015b-1.el6.noarch
........
######
root@srv148 ~# chkconfig --list | grep on | grep yum
yum-cron        0:off   1:off   2:on    3:on    4:on    5:on    6:off
######
Do có yum cron để auto update. Do vậy disable đi bằng cách sau:
root@srv148 ~# cat /etc/resolv.conf
#nameserver 8.8.8.8
#nameserver 8.8.4.4
#nameserver 210.245.0.11
#nameserver 210.245.1.253
#nameserver 210.245.1.254
<<Như vậy sẽ không thể access tới các repositories được nữa

1 comment:

  1. The King Casino Company - Ventureberg
    It was born in 1934. The casino-roll.com Company offers luxury hotels, https://jancasino.com/review/merit-casino/ If gri-go.com you don't have a poker room in 도레미시디 출장샵 your house, then you'll find a ventureberg.com/ poker room in the

    ReplyDelete