下载阿里云仓库(需联网)
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
更新yum源
yum clean all
yum makecache
安装基础软件
yum install wget vim tar zip tree bash-completion lrzsz -y
配置epel源
wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo
更新源
yum clean all
yum makecache