1.为了方便配置,可以安装setup
yum install -y setuptool ntsysv system-config-firewall-tui system-config-network-tui
2.安装wget
yum install -y wget
3.更换源
cd /etc/yum.repos.d
mv CentOS-Base.repo bak-CentOS-Base.repo
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
yum clean all
yum makecache
4.更新yum
yum -y update
文章评论