さくらVPSサーバ設定メモ(3)

2011年5月14日 オフ 投稿者: KYO
Table of Contents

続いて、yum関連(特にリポジトリ)。

 

repo(yum)

  • epel

 

[shell]

# wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

# rpm -ivh epel-release-5-4.noarch.rpm

[/shell]

 

  • rpmforge

 

[shell]

# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rp

# rpm -ivh rpmforge-release-0.5.2-2.el5.rf.i386.rpm

[/shell]

 

  • remi

 

[shell]

# wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

# rpm -ivh remi-release-5.rpm

[/shell]

 

  • utterramblings

 

[shell]

$ sudo rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

$ sudo vim /etc/yum.repos.d/utterramblings.repo

[/shell]

 

  • third party

 

[shell]

# vi /etc/yum.repos.d/thirds.repo

 

[flash]

name=macromedia.mplug.org – Flash Plugin

baseurl=http://macromedia.mplug.org/rpm

http://sluglug.ucsc.edu/macromedia/rpm

http://ruslug.rutgers.edu/macromedia/rpm

http://macromedia.rediris.es/rpm

enabled=0

gpgcheck=1

gpgkey=http://macromedia.mplug.org/FEDORA-GPG-KEY

 

[atrpms]

name=Redhat Enterprise Linux $releasever – $basearch – ATrpms

baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable

enabled=0

gpgcheck=1

gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms

[/shell]

 

  • ほか

 

[shell]

# rpm –import http://ATrpms.net/RPM-GPG-KEY.atrpms

# http://apt.kde-redhat.org/apt/kde-redhat/redhat/kde.repo

[/shell]

 

  • yum-updatesd

 

[shell]

# service yum-updatesd start

# chkconfig yum-updatesd on

[/shell]