반응형
1. Repository간의 호환성 문제를 해결하기 위한 yum-priorities 설치
# yum install yum-priorities
2. GPG 키 설치
# wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
# rpm -import RPM-GPG-KEY.dag.txt
# rm -f RPM-GPG-KEY.dag.txt
# rpm -import RPM-GPG-KEY.dag.txt
# rm -f RPM-GPG-KEY.dag.txt
3. CentOS 5 / 6 rpmforge 설치
### RHEL5 and CentOS-5 x86 64bit download : http://pkgs.repoforge.org/rpmforge-release/
# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
# rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
# rm rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
# rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
# rm rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
### RHEL6 and CentOS-6 x86 64bit download : http://pkgs.repoforge.org/rpmforge-release/
# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# rm rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
# rm rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
4. EPEL that is provided from Fedora project.
### RHEL5 and CentOS-5 x86 64bit
# wget http://ftp.sayclub.com/pub/Linux/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm
# wget http://ftp.sayclub.com/pub/fedora-epel/5/x86_64/epel-release-5-4.noarch.rpm
# rpm -Uvh epel-release-5-4.noarch.rpm
### RHEL6 and CentOS-6 x86 64bit
# wget http://ftp.neowiz.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -Uvh epel-release-6-8.noarch.rpm
# wget http://ftp.neowiz.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -Uvh epel-release-6-8.noarch.rpm
5. 우선순위 설정
# vi /etc/yum.repos.d/CentOS-Base.repo
# vi /etc/yum.repos.d/rpmforge.repo
[base], [addons], [updates], [extras]
priority=1 // 추가
[centosplus], [contrib]
priority=2 // 추가
priority=1 // 추가
[centosplus], [contrib]
priority=2 // 추가
# vi /etc/yum.repos.d/rpmforge.repo
[rpmforge]
priority=10 // 추가
priority=10 // 추가
# vi /etc/yum.repos.d/epel.repo
[epel]
priority=20 // 추가
priority=20 // 추가
6. 확인
# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 3.3 kB 00:00
* base: ftp.daum.net
* epel: ftp.cuhk.edu.hk
* extras: ftp.daum.net
* rpmforge: ftp-stud.fht-esslingen.de
* updates: ftp.daum.net
repo id repo name status
base CentOS-6 - Base 6,294
epel Extra Packages for Enterprise Linux 6 - x86_64 7,158
extras CentOS-6 - Extras 4
rpmforge RHEL 6 - RPMforge.net - dag 4,258
updates CentOS-6 - Updates 652
repolist: 18,366
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 3.3 kB 00:00
* base: ftp.daum.net
* epel: ftp.cuhk.edu.hk
* extras: ftp.daum.net
* rpmforge: ftp-stud.fht-esslingen.de
* updates: ftp.daum.net
repo id repo name status
base CentOS-6 - Base 6,294
epel Extra Packages for Enterprise Linux 6 - x86_64 7,158
extras CentOS-6 - Extras 4
rpmforge RHEL 6 - RPMforge.net - dag 4,258
updates CentOS-6 - Updates 652
repolist: 18,366
반응형
'Linux > CentOS' 카테고리의 다른 글
sudo 설정 (0) | 2012.04.02 |
---|---|
VIM 설정 (0) | 2012.04.02 |
서버에 설치된 패키지 업데이트 (0) | 2012.03.30 |
System services(ntsysv && chkconfig --list) (0) | 2012.03.30 |
Disable IPv6 (0) | 2012.03.29 |
최근댓글