-
RedHat和CentOs系統(tǒng)下的第三方軟件倉庫 - [技術(shù)文檔]
2009-06-08
Tag:版權(quán)聲明:轉(zhuǎn)載時請以超鏈接形式標(biāo)明文章原始出處和作者信息及本聲明
http://aneya.blogbus.com/logs/42240107.html
Centos默認的yum軟件倉庫非常有限,僅僅限于發(fā)行版本那幾張盤里面的常規(guī)包,
利用RpmForge ,可以增加非常多的第三方rpm軟件包
到這里
找到與系統(tǒng)平臺架構(gòu)匹配的rpmforge包安裝之即可
安裝完后.默認會在系統(tǒng)的/etc/yum.repos.d/下新增兩個文件,mirrors-rpmforge和 rpmforge.repo
引用[root@server]# more rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el5/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1引用[root@server]# more mirrors-rpmforge
http://apt.sw.be/redhat/el5/en/$ARCH/dag
http://archive.cs.uu.nl/mirror/dag.wieers/redhat/el5/en/$ARCH/dag
http://ftp2.lcpe.uni-sofia.bg/freshrpms/pub/dag/redhat/el5/en/$ARCH/dag
#http://ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/el5/en/$ARCH/dag
http://ftp-stud.fht-esslingen.de/dag/redhat/el5/en/$ARCH/dag
http://mirror.cpsc.ucalgary.ca/mirror/dag/redhat/el5/en/$ARCH/dag
http://mirrors.ircam.fr/pub/dag/redhat/el5/en/$ARCH/dag
http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el5/en/$ARCH/dag
http://rpmfind.net/linux/dag/redhat/el5/en/$ARCH/dag
http://wftp.tu-chemnitz.de/pub/linux/dag/redhat/el5/en/$ARCH/dag
http://www.mirrorservice.org/sites/apt.sw.be/redhat/el5/en/$ARCH/dag
比如下載個比top這個命令更加強悍的htop包
[root@server]#yum -y install htop
[root@server]#htop
如果平時下載安裝軟件包慢,可以裝個加速鏡像軟件包
對centos5
引用
[root@server]#yum -y install yum-fastestmirror
centos4
引用[root@server]#yum -y install yum-plugin-fastestmirror