[SOLVED] Downloading Centos and then creating a full RPM
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.
the backstory is i've been trying to use RHEL only to realise its pointless cos i don't intend on paying to use the RHN so i figured CentOS is the next logical step...
having said that the first thing i want to do is create a complete local repo... (storage space is of no concern.)
I understand that you want to create a complete local repo for whatever reason, but why would it be the first thing you want to do? Because as in CentOS, and if you have an Internet connection, the repository just works out of the box.
Anyway, if you feel like building your own, you can create your own local.repo file in /etc/yum.repos.d, mount the dvd, and there you go. Your local.repo file should look like below :
[base]
name=CentOS-$releasever - Base
baseurl=file:///yourdvdmountpoint/Packages
gpgcheck=0
The main driver... is the learning excercise behind it. so i know how it is done.
Then my internet connection on the machine is to be temporary, hence why i want a local repo.
as a final check, im not gonna get shafted like on a rhel system where something like the RHN is gonna kick in and tell me cough up cash then you can use our online repo?
EDIT- realised this last question is probably more applicable to my upcoming dabblings in fedora core which from what i understand is the rhel consumer project.
as a final check, im not gonna get shafted like on a rhel system where something like the RHN is gonna kick in and tell me cough up cash then you can use our online repo?
EDIT- realised this last question is probably more applicable to my upcoming dabblings in fedora core which from what i understand is the rhel consumer project.
Fedora won't kick you out of the repo, the repo will just stop being updated when that version of Fedora reaches EOL. The repo will still be accessible and usable though. I have a fedora 4 machine from 7 years ago that can still install software from the online repo, the software that's there simply hasn't been updated in maybe 6 years.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.