いろんなパッケージを導入するため、とりあえずリポジトリを追加!
※CentOS5 / 32bit
★[epel]リポジトリの追加[epel/remi]
■パッケージ追加[epel]
wget http://ftp.iij.ad.jp/pub/linux/fedora/epel/5/i386/epel-release-5-4.noarch.rpm
■パッケージ追加[remi]
wget http://rpms.famillecollet.com/el5.i386/remi-release-5-8.el5.remi.noarch.rpm
—
■rpmインストール[epel]
[root@dti-vps-srv47 ~]# rpm -ivh epel-release-5-4.noarch.rpm
warning: epel-release-5-4.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing… ########################################### [100%]
1:epel-release ########################################### [100%]
■rpmインストール[remi]
[root@dti-vps-srv47 ~]# rpm -ivh remi-release-5-8.el5.remi.noarch.rpm
warning: remi-release-5-8.el5.remi.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
Preparing… ########################################### [100%]
1:remi-release ########################################### [100%]
—
■[remi]のパッケージ優先順位を変更
vi /etc/yum.repos.d/remi.repo
[remi]
name=Les RPM de remi pour Enterprise Linux $releasever – $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror
enabled=1
priority=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
failovermethod=priority
■[centosplus]のパッケージ優先順位を変更
[centosplus]
name=CentOS-$releasever – Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
priority=1
—
■リポジトリ追加の確認
[root@dti-vps-srv47 yum.repos.d]# yum update
Loaded plugins: fastestmirror, priorities
Repository ‘vz-base’ is missing name in configuration, using id
Repository ‘vz-updates’ is missing name in configuration, using id
Loading mirror speeds from cached hostfile
* base: rsync.atworks.co.jp
* centosplus: rsync.atworks.co.jp
* epel: ftp.iij.ad.jp
* extras: rsync.atworks.co.jp
* remi: rpms.famillecollet.com
* updates: rsync.atworks.co.jp
base | 1.1 kB 00:00
centosplus | 1.9 kB 00:00
centosplus/primary_db | 70 kB 00:00
epel | 3.7 kB 00:00
epel/primary_db | 3.2 MB 00:00
extras | 2.1 kB 00:00
remi | 2.5 kB 00:00
remi/primary_db | 266 kB 00:06
updates | 1.9 kB 00:00
322 packages excluded due to repository priority protections
Setting up Update Process
No Packages marked for Update
コメント