因為測試需要,安裝了CentOS 6.4,並需要安裝kvm,虛擬Windows 2008進行測試。
實際操作中,因為CentOS 6已經停止維護了,所以每一步操作基本都存在一些問題。
Yum(全稱為 Yellow dog Updater, Modified)是一個在Fedora和RedHat以及CentOS中的Shell前端軟件包管理器。基於RPM包管理,能夠從指定的服務器自動下載RPM包並且安裝,可以自動處理依賴性關系,並且一次安裝所有依賴的軟件包,無須繁瑣地一次次下載、安裝。
在安裝kvm的過程中,使用yum進行安裝,提示錯誤如下:
Loaded plugins: fastestmirror, refresh-packagekit, security
fastestmirror是yum的一個加速插件,提示意思是插件不能用了。
那就先禁用吧
vim /etc/yum/pluginconf.d/fastestmirror.conf
將enable=1改為0
[main] enabled=0 //由 1 改成0 ,禁用該插件 verbose=0 always_print_best_host = true socket_timeout=3 # Relative paths are relative to the cachedir (and so works for users as well # as root). hostfilepath=timedhosts.txt maxhostfileage=10 maxthreads=15 #exclude=.gov, facebook #include_only=.nl,.de,.uk,.ie
然后修改yum 配置文件,plugins=1改為0,不使用插件
vim /etc/yum.conf
9 plugins=0 //不使用插件
然后清除緩存
yum clean all yum makecache