#删除系统原有的YUM源
rm -rf /etc/yum.repos.d/*
#配置阿里云基础源(base,extras,updates)
curl https://mirrors.aliyun.com/repo/Centos-7.repo -o /etc/yum.repos.d/CentOS-Base.repo
#配置阿里云EPEL源
curl https://mirrors.aliyun.com/repo/epel-7.repo -o /etc/yum.repos.d/epel.repo
#安装基本的软件包
yum install -y wget curl vim-enhanced git net-tools bash-completion
#关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
版权属于:
公子初心
作品采用:
《
署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)
》许可协议授权
评论 (0)