IndianWebPortal.com

Something Different In Linux

Home » Email Marketing Series » How to update the yum repository on Centos 5 server

How to update the yum repository on Centos 5 server

1) yum install yum-fastestmirror

2) yum install yum-priorities

3) uname -i

If the output is i386 then

cd /usr/local/src

wget  http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

4) Install key

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

5)Install rpmforge

rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

6) yum check-update

It will take some time to update teh RPM and yum can create the  file named “primary.xml.gz”

After that you can able to install any software by using yum command
for exapmle yum install mplayer* , yum install ffmpeg etc..

In simple use directly all commands on the server.

yum install yum-fastestmirror
yum install yum-priorities
cd /usr/local/src
wget  http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum check-update


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...