操作系统
目前采用centos后续考虑使用
Anolis OS 龙蜥操作系统
https://blog.csdn.net/OceanWaves1993/article/details/135351471
yum报错:Could not retrieve mirrorlist
备份/etc/yum.repos.d/CentOS-Base.repo后执行
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
3.3 备份官方源配置:
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
3.4 下载阿里云yum源配置文件覆盖原官方源配置文件:
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo