ELRepo
---------
To install ELRepo for RHEL-5, SL-5 or CentOS-5:
To make use of our mirror system, please also install yum-fastestmirror
To install ELRepo for RHEL-6, SL-6 or CentOS-6:
To make use of our mirror system, please also install yum-plugin-fastestmirror
-----
For VPS
-----------
[root@oGcServ vesali]# nano /etc/yum.repos.d/elrepo.repo
[elrepo]priority=10name=ELRepo.org el6baseurl=http://elrepo.org/linux/elrepo/el6/$basearch/mirrorlist=http://elrepo.org/mirrors-elrepo.el6protect=0
[elrepo-testing]enabled=0priority=10name=ELRepo.org el6 Testingbaseurl=http://elrepo.org/linux/testing/el6/$basearch/mirrorlist=http://elrepo.org/mirrors-elrepo-testing.el6protect=0
[elrepo-kernel]enabled=0priority=10name=ELRepo.org Kernel
el6baseurl=http://elrepo.org/linux/kernel/el6/$basearch/mirrorlist=http://elrepo.org/mirrors-elrepo-kernel.el6protect=0
[elrepo-extras]priority=10name=ELRepo.org Extras el6baseurl=http://elrepo.org/linux/extras/el6/$basearch/mirrorlist=http://elrepo.org/mirrors-elrepo-extras.el6protect=0
[root@oGcServ vesali]#
------------------------------------------------------------------------------------------------
RPMforge
------------
CentOS 6
------------
The preferred rpmforge-release package to retrieve and to install in
order to enable that repository is one of the two listed above.
Install DAG's GPG key
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
CentOS 5
-------------
The preferred rpmforge-release package to retrieve and to install in
order to enable that repository is one of the two listed above.
Install DAG's GPG key
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
-----------------------------------------------------------------------------------------------
Remi & EPEL repository CentOS 5.x or 6.x
-------------------------------------------------------
source:http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x
Download the latest
epel-release rpm from
http://dl.fedoraproject.org/pub/epel/6/i386/
The first step requires downloading some RPM files that contain the
additional YUM repository definitions. The instructions below point to the
64-bit versions that work with our Cloud Server instances.
Centos 5.x
sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
Centos 6.x
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
Once installed you should see some additional repo definitions under the /etc/yum.repos.d directory.
$ ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/remi.repo
Enable the remi repository
The remi repository provides a variety of up-to-date packages that are
useful or are a requirement for many popular web-based services. That means it
generally is not a bad idea to enable the remi repositories by default.First,
open the /etc/yum.repos.d/remi.repo repository file using a text editor of your
choice:
sudo vim /etc/yum.repos.d/remi.repo
Edit the [remi] portion of the file so that the enabled option is set to 1. This will enable the remi repository.
name=Les RPM de remi pour Enterprise Linux $releasever - $basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
failovermethod=priority
You will now have a larger array of yum repositories from which to install.
No comments:
Post a Comment