今天在玩CentOS的时候出现了: Error: cannot find a valid baseurl for repo: rpmfusion-free 这个问题真到好恶心啊,以前一直使用到是ubuntu,最近切换到CentOS以后,各自小白啊.最后搜索到到答案是: You seem to have added the RPM Fusion repository incorrectly. Let's start clean. First remove the repo with: rpm -e…
*无法联网的明显表现会有: cannot find a valid baseurl for repo:base/7/x86_64 1.yum install出现 Error: cannot find a valid baseurl or repo:base 2.ping host会提示unknown host 方法一. 1.打开 vi /etc/sysconfig/network-scripts/ifcfg-eth0(每个机子都可能不一样,但格式会是“ifcfg-eth数字”),把ONBOOT…