您的位置: 首页 > 文章 > 解决yum源不能使用,以及配置固定ip 解决yum源不能使用,以及配置固定ip 分类: 文章 • 2022-10-18 17:49:12 配置固定ip 首先vi /etc/sysconfig/network-scripts/ifcfg-ens33 然后 sudo service network restart 大功告成 yum源不能用 首先rm -rf /etc/yum.repos.d/* 然后去下载阿里云的源wget http://mirrors.aliyun.com/repo/Centos-7.repo