-   Red Hat (
-   -   Configure YUM in simple easy steps in RedHat (

sandeeprhce5 01-03-2009 01:48 AM

Configure YUM in simple easy steps in RedHat
Make sure you have backup in /var/ftp/pub

Create a file
#vim /etc/yum.repos.d/local.repo
name=my repo

:wq! save and exit

open a file
#vim /etc/yum.conf
make sure gpgcheck=0

:wq! save and exit

#yum clean all
#yum update all

If yum update all show a error it means your rpm repositery is croupted .How to repair it

#cd /var/ftp/pub/Server
#rpm -ivh creatrepo*
#creatrepo -v /var/ftp/pub/Server

Now again run command
#yum clean all
#yum update all

How to install packages via yum ?

eg.= #yum install dhcpd* (for install dhcp pakages)

How to remove packages via yum ?
#yum remove dhcpd

More examples of packges
#yum install postfix*
#yum install sendmail*
#yum install bind*
#yum install kde* (for install kde desktop envirment)

Author of this artical is:- sandeeprhce5

acid_kewpie 01-04-2009 01:28 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

And again, this is really not the place to post documentation.

All times are GMT -5. The time now is 10:09 PM.