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.
I've configured Yum server in my 32 bit RHEL6 system
I've configured it under
/etc/yum.repos.d/server.repo
There was an existing file under the /etc/yum.repos.d/ dir named redhat.repo which i deleted and created a new one named server.repo
However after rebooting the system redhat.repo file shows up again in that dir and Yum server is not working
I tried making yum server in redhat.repo and also under yum.conf also but still its the same and suggestions on above?
making a yum server? You appear to be working with the yum *client* not a server at all. You say it's not working yet haven't told us anything at all about what's happening. Please provide useful details for us to work on.
i can install packages through yum which i copied in
/var/ftp/pub/Packages
however it stops working after i reboot the system as the redhat.repo file which was in /etc/yum.repos.d/ automatically gets created and system gives this file priority and takes info from here..
If you are a student and cannot or will not pay for RHEL, then use Centos, which is a free rebuild.
A Centos system should not overwrite your changes, although if its a VM, it depends if its set to (effectively) re-install, in which case ask the local admins for advice.
Heyyy ,I think you are trying to create local yum server with client in the same pc.ok then...
1. Have you install createrepo package and configured it as yum server repository?
you did'nt mentioned how you have set it up? To configure yum server certain yum packages are need to be installed along with createrepo to create necessary repo files, that generally done with createrepo -v [some-name].
better if you are testing or practising it then uninstall the packages for yum server and do the install again, follow some step by step guide(there are lot many if you google for it) and then come to us with your issues atleast then you would have some idea on how the things are working.
I'm using DVD as a yum repository which i copied to /var/ftp/pub/Packages
I deleted the file rhel-source.repo from /etc/yum.repos.d/ and created a new one server.repo like below (also tried to edit the existing one but after reboot the content vanishes)
and i created repo for that also. The yum is working fine
but when i reboot the system the file named rhel-source.repo
in /etc/yum.repos.d/ is created automatically which is taking priority over the file i have created i.e. server.repo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.