2013-09-25

CentOS - rpmforge 설치



rpmforge 는 CentOS 나 RedHat과 별개로 진행되는 프로젝트임.

http://pkgs.repoforge.org/rpmforge-release/


1. 설치할 바이너리가 32비트일지 64비트일지 확인
  * i386, i486, i586, i686 등이면 32비트
  * x86_64면 64비트
[root@bocs ~]# uname -m
x86_64

2. http://pkgs.repoforge.org/rpmforge-release/ 에서 최신 버전 확인
 * 현재 확인시 rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

[   ] rpmforge-release-0.5.3-1.el3.rf.i386.rpm   20-Mar-2013 16:59   11K  RHEL3 and CentOS-3 x86 32bit
[   ] rpmforge-release-0.5.3-1.el3.rf.x86_64.rpm 20-Mar-2013 16:59   11K  RHEL3 and CentOS-3 x86 64bit
[   ] rpmforge-release-0.5.3-1.el4.rf.i386.rpm   20-Mar-2013 16:59   11K  RHEL4 and CentOS-4 x86 32bit
[   ] rpmforge-release-0.5.3-1.el4.rf.x86_64.rpm 20-Mar-2013 16:59   11K  RHEL4 and CentOS-4 x86 64bit
[   ] rpmforge-release-0.5.3-1.el5.rf.i386.rpm   20-Mar-2013 16:59   12K  RHEL5 and CentOS-5 x86 32bit
[   ] rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm 20-Mar-2013 16:59   12K  RHEL5 and CentOS-5 x86 64bit
[   ] rpmforge-release-0.5.3-1.el6.rf.i686.rpm   20-Mar-2013 16:59   12K  RHEL6 and CentOS-6 x86 32bit
[   ] rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 20-Mar-2013 16:59   12K  RHEL6 and CentOS-6 x86 64bit
[   ] rpmforge-release-0.5.3-1.rf.src.rpm        20-Mar-2013 16:59  8.5K  Distribution independent source
 
3. 해당 rpm download
[root@bocs ~]# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
Resolving apt.sw.be... 193.1.193.67
Connecting to apt.sw.be|193.1.193.67|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12640 (12K) [application/x-redhat-package-manager]
Saving to: ?pmforge-release-0.5.3-1.el6.rf.x86_64.rpm?

100%[=====================================================================>] 12,640      61.2K/s   in 0.2s

Last-modified header invalid -- time-stamp ignored.
2013-09-25 03:26:33 (61.2 KB/s) - ?pmforge-release-0.5.3-1.el6.rf.x86_64.rpm?saved [12640/12640]
[root@bocs ~]#
   혹시 wget 없다면
[root@bocs ~]# yum -y install wget

4. rpm 설치
[root@bocs ~]# rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
warning: rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing...                ########################################### [100%]
   1:rpmforge-release       ########################################### [100%]
[root@bocs ~]#
 5. Repository PGP key 설치
[root@bocs ~]# wget http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
[root@bocs ~]#  rpm --import RPM-GPG-KEY.dag.txt

 6. 필요한 모듈 설치
   * htop 설치 예
[root@bocs src]# yum --enablerepo=rpmforge -y install htop

댓글 없음:

댓글 쓰기