dhclient -d eth1 //自动获取IP
rm -rf /etc/yum.repos.d/* 删除yum缓存
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo //下载官方yum
yum -y install epel-release //安装第三方YUM源
安装完成
yum -y install htop //yum 安装htop,yum配完装啥都简单