常用yum源

源地址,選擇對應的系統及鏈接:

1、國外鏡像源地址:http://ftp.heanet.ie/pub/centos/

2、中國科技大學源地址:http://centos.ustc.edu.cn/centos/

3、網易開源鏡像http://mirrors.163.com/centos/

4、搜狐開源鏡像http://mirrors.ustc.edu.cn/centos/


如果出現錯誤:
Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.

這是因爲yum在更新, 此時是kill不掉的該進程的, 正確的解決方法是讓它停止更新即可。 
可以直接輸入 rm -f /var/run/yum.pid 
也可以/etc/init.d/yum-updatesd stop 


rhel linux知識庫:


http://kbase.redhat.com


http://www.redhat.com/docs


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章