3月 282011
 
シェアする

参考:http://rpmrepo.org/RPMforge/Using

上記ページで入れたいものを選択。ServersMan@VPS用のファイルは以下の画像参照

RPMforge

1.上記のURLをコピーしておく。

2.wget でダウンロードする

# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
--2011-03-28 18:13:14--  http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
Resolving packages.sw.be... 85.13.226.40
Connecting to packages.sw.be|85.13.226.40|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm [following]
--2011-03-28 18:13:15--  http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
Resolving rpmforge.sw.be... 85.13.226.40
Reusing existing connection to packages.sw.be:80.
HTTP request sent, awaiting response... 200 OK
Length: 12680 (12K) [application/x-rpm]
Saving to: `rpmforge-release-0.5.2-2.el5.rf.i386.rpm'

100%[===================================================================================================================>] 12,680      24.9K/s   in 0.5s

2011-03-28 18:13:16 (24.9 KB/s) - `rpmforge-release-0.5.2-2.el5.rf.i386.rpm' saved [12680/12680]

#

3.ダウンロードしたファイルを確認

# ls -l rpmforge-release-0.5.2-2.el5.rf.i386.rpm
-rw-r--r-- 1 root root 12680 Nov 13 13:12 rpmforge-release-0.5.2-2.el5.rf.i386.rpm
#

4.rpm -ivhを用いてインストール

# rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm
warning: rpmforge-release-0.5.2-2.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
 1:rpmforge-release       ########################################### [100%]
#

5./etc/yum.repos.d/配下を確認し、repoファイルが増えたか確認

# ls -la /etc/yum.repos.d/
total 36
drwxr-xr-x  2 root root 4096 Mar 28 18:13 .
drwxr-xr-x 51 root root 4096 Mar 28 18:13 ..
-rw-r--r--  1 root root 2245 Oct  1  2009 CentOS-Base.repo
-rw-r--r--  1 root root  626 Oct  1  2009 CentOS-Media.repo
-rw-r--r--  1 root root  739 Nov 13 12:55 mirrors-rpmforge
-rw-r--r--  1 root root  717 Nov 13 12:55 mirrors-rpmforge-extras
-rw-r--r--  1 root root  728 Nov 13 12:55 mirrors-rpmforge-testing
-rw-r--r--  1 root root 1113 Nov 13 12:55 rpmforge.repo
-rw-r--r--  1 root root  190 Feb  3  2010 vz.repo
#

以上

このエントリーをはてなブックマークに追加

コメント大歓迎!質問も受け付けておりますヽ(*´∀`)ノ