LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-31-2012, 12:00 AM   #1
v11pandey
LQ Newbie
 
Registered: Oct 2012
Posts: 11

Rep: Reputation: Disabled
Creating YUM Server in RHEL 6


Hi,

Can any one help me in setting up a YUM server in RHEL 6.0

Thanks in advance.

Last edited by v11pandey; 10-31-2012 at 12:46 AM. Reason: spelling mistake
 
Old 10-31-2012, 12:39 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
it is installed and configured BY default

click on the register icon on the desktop and register your install
once you have a licensed and registered install
yum will work
 
Old 10-31-2012, 12:49 AM   #3
v11pandey
LQ Newbie
 
Registered: Oct 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks for your reply John VV

Actually i was trying to setup an YUM server in RHEL 6 by my own.
But i am unable to do ....... i think i am missing some step..
So i was looking for some one to tell me steps for setting up a YUM Server in RHEL 6.
 
Old 10-31-2012, 01:20 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
i think i am missing some step.
buying the required support license

if it is not registered and paid for
you do not install anything

if you are not going to buy the required license -- do not use rhel

instead install one of the FREE rebuilds like
CentOS 6.3


but if i am misunderstanding you and you want to set up a "local-repo" on a registered install
then see the red hat knowledge base ( you WILL need the user name and password you set up with your RHN account you paid for)
search for "local repository"

https://access.redhat.com/search/quick?
and have a look through the red hat docs
https://access.redhat.com/knowledge/...erprise_Linux/
 
1 members found this post helpful.
Old 10-31-2012, 01:40 AM   #5
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
Look after the thread ,

http://www.linuxquestions.org/questi...o-help-898052/
 
Old 10-31-2012, 02:52 AM   #6
slowerogue
Member
 
Registered: Oct 2012
Posts: 96

Rep: Reputation: Disabled
mount installation cd to /mnt
then create another directory and copy all the file from /mnt to new directory
create a repo file with vi,
baseurl= new directory path

this worked for me..
 
Old 10-31-2012, 03:37 AM   #7
adol83
Member
 
Registered: Jul 2012
Location: Rome
Distribution: RHEL6, CentOs
Posts: 92

Rep: Reputation: 1
Yum repository for RHEL6 requires registration to the Red Hat Network, it does mean that you need to buy license.

You can workaround this matter using the "epel repository" made for Linux Centos/RHEL.

Step by step, you should :

1. under /etc/yum.repos.d/ --> create epel.repo
2. configure epel.repo with proper url you can find on internet (search for on google). Syntax is shown as well.
3. as soon you finished, launch "man yum" and check for the syntax.

---

then, if you want Your server becomes a repository you should create a directory-container of any "rpm" file and use "file:///[...]" instead "http://[...]" in the ".repo" file .

basically, a repo file is nothing else that a link for yum to search packages you should configure.
 
Old 10-31-2012, 03:46 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
but it is 1,000,000% easier to pay red hat
and do it legally

or

install the free CentOS6.3
than it is to "try" to by-pass the locks


it you are NOT going to buy the REQUIRED license do not use it

use one of the FREE versions
CentOS
ScientificLinux
 
1 members found this post helpful.
Old 10-31-2012, 04:10 AM   #9
adol83
Member
 
Registered: Jul 2012
Location: Rome
Distribution: RHEL6, CentOs
Posts: 92

Rep: Reputation: 1
Code:

but it is 1,000,000% easier to pay red hat 
and do it legally 

or
 
install the free CentOS6.3 
than it is to "try" to by-pass the locks 


it you are NOT going to buy the REQUIRED license do not use it 

use one of the FREE versions 
CentOS
 ScientificLinux
Yes, he is quite right. learning purpose can be accomplished anyway by CentOS or other version.

Or like me, you can get a license number and don't use it but i wouldn't suggest to get your life complicated like that.
 
Old 10-31-2012, 04:33 AM   #10
v11pandey
LQ Newbie
 
Registered: Oct 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks All For you help..
 
  


Reply



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
yum server Configuration on rhel 5 Toushi Linux - Server 3 02-10-2012 01:14 PM
A Query on Yum Server with mirroring feature via RHN for RHEL 5.4 saagar Linux - Server 2 02-08-2012 06:02 PM
problem to mount and make yum server in RHEL 5 in vmware baliharbaryah Linux - Virtualization and Cloud 1 12-15-2011 02:25 PM
how to configure yum server on rhel-5 without use of internet? jayaswalsnehil Linux - Newbie 1 01-17-2011 03:56 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Software 2 03-30-2010 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration