请问大家 这个真的好难啊 我的虚拟机连接上了 然后ping baidu.com也可以出现结果 但是我打yum -y install ntp openssh-clients openssh-server vim的时候就会出现以下错误
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
你需要把repo文件夹里的url全部改成国内站,默认的是国外站,你访问不了
参考这个更换国内源:
https://blog.csdn.net/lemon_lrj/article/details/124053741