Problems in installing Linux

Time:2021-3-6

If ifconfig is not found
yum install net-tools
Switch the yum source of Alibaba

1. Backup previous warehouse files

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.back

2. Download alicloud’s warehouse files

curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

3. Clear cache

yum clean all
yum makecache