LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 01-03-2009, 01:48 AM   #1
sandeeprhce5
LQ Newbie
 
Registered: Jan 2009
Location: Bhiwani Haryana India
Distribution: RedHat and Linux
Posts: 20

Rep: Reputation: 1
Lightbulb 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
[local.repo]
name=my repo
baseurl=file:///var/ftp/pub/Server
enabled=1
gpgcheck=0

: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

[Note]
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
 
Old 01-04-2009, 01:28 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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.
 
  


Reply

Tags
redhat, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: HTML in easy steps LXer Syndicated Linux News 0 11-03-2006 02:21 PM
LXer: InDesign in Easy Steps LXer Syndicated Linux News 0 08-23-2006 01:21 PM
simple steps to configure X forwarding in solaris 9 sajidmumtaz Solaris / OpenSolaris 1 06-20-2006 03:22 PM
6 not so easy steps to linux mdk Linux - Newbie 9 09-01-2004 11:52 PM
10 or so easy steps to install gentoo off cd. Nz_Boy_2004 Linux - Software 2 06-16-2004 01:26 AM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration