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.
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
Unlike its descendant CentOS, RHEL has a subscription-based support model. Which means you need to have a RHN subscription to use to update from official repos. So you either have to configure your system to use RHN or switch to CentOS repos. Try "sudo yum repolist" to see active repos for you.
If you don't want to pay for RHN, your choices would be to switch to an alternative distro or change your system to use CentOS (or other RHEL compatible repos).
Edit: CentOS is practically RHEL sans the trademarks. Red Hat may not provide packaged updates for non-subscribed RHEL installs, but remember the reason CentOS, Scientific Linux, etc. are able to exist is Red Hat being nice and providing sources.
1: Can you please tell me command used to configure RHN as I dont have GUI
2: The most important, how can I configure my RHEL to use CentOS repo? ( I dont have any idea so in little detail please with commands and RHEL compatible repo)
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
Quote:
Originally Posted by sudo_su
thankyou skyeye
1: Can you please tell me command used to configure RHN as I dont have GUI
2: The most important, how can I configure my RHEL to use CentOS repo? ( I dont have any idea so in little detail please with commands and RHEL compatible repo)
First from your 'yum repolist' I can see that you have no repos configured. Second, you can find answers to both your questions by Googling.
Here's a few pointers anyway.
1. You'll need to buy (if you haven't already) a RHN subscription. There are guides about configuration. Eg: RHN Client Configuration.
2. You'll probably need to install "centos-release" and/or add yum repo files. Better google it.
As you mentioned i have no repo configured, can you plese tell me how to configure it? second I already googled and tried the methods to use some other repo, including one method of making "Foo" file with nexcraft repo and rest of methods but non of them worked :S so finally, posted to experts here.
Can you please give me some more idea about Sno#2.
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
Quote:
Originally Posted by sudo_su
Can you please give me some more idea about Sno#2.
Follow this guide and replace the commands with the correct distro version and architecture you have. The guide uses CentOS 5.4 and i386. Replace these with your values.
instead of "wget http://mirror.centos.org/centos/5.4/os/i386/RPM-GPG-KEY-CentOS-5". You'll have to figure out broken links, usually by visiting the URL is a browser and changing values.
You can get your arch by "uname -i" and your distro target version right now should be 6.3.
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
This is a fairly trivial operation, if you followed a guide and used your system arch and version. Don't know why you couldn't get it working. Anyway, good luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.