Centos 7 运行出错:cannot find a valid basecrl for repo:base/7/x86_64
今天新装Centos 7 ,结果刚开机就出现了“cannot find a valid basecrl for repo:base/7/x86_64”错误,经过排错,是网卡没有启动,按照下面操作,启动一下网卡就好了
部分参考连接:
https://www.glbwl.com/centos-7-repo-base.html
https://blog.csdn.net/u013091013/article/details/70919291
1. cd /etc/sysconfig/network-scripts
2. ls
3. vi ifcfg-ens33
将【ONBOOT=no】 改成【 ONBOOT=yes】
4. service network restart
posted on 2019-07-01 08:45 thisismynickname 阅读(141) 评论(0) 编辑 收藏 举报