close_centos_update.sh 150 Bytes
Newer Older
wangkaixiong's avatar
init  
wangkaixiong committed
1
2
3
4
5
6
#!/bin/bash

# 1
# 关闭 centos 自动更新
# 修改yum配置文件/etc/yum.conf
# 在[main]字段中添加exclude=kernel*、exclude=centos-release*