LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 01-03-2009, 02:48 AM   #1
sandeeprhce5
LQ Newbie
 
Registered: Jan 2009
Location: Bhiwani Haryana India
Distribution: RedHat and Linux
Posts: 18
Thanked: 1
Lightbulb Configure YUM in simple easy steps in RedHat


[Log in to get rid of this advertisement]
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
sandeeprhce5 is offline  
Tag This Post , , , ,
Reply With Quote
Old 01-04-2009, 02:28 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 33,329
Thanked: 182
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.
acid_kewpie is online now     Reply With Quote

Reply

Bookmarks


Thread Tools

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 03:21 PM
LXer: InDesign in Easy Steps LXer Syndicated Linux News 0 08-23-2006 02:21 PM
simple steps to configure X forwarding in solaris 9 sajidmumtaz Solaris / OpenSolaris 1 06-20-2006 04:22 PM
6 not so easy steps to linux mdk Linux - Newbie 9 09-02-2004 12:52 AM
10 or so easy steps to install gentoo off cd. Nz_Boy_2004 Linux - Software 2 06-16-2004 02:26 AM


All times are GMT -5. The time now is 08:09 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration