Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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"
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.