LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Downloading Centos and then creating a full RPM (https://www.linuxquestions.org/questions/linux-newbie-8/downloading-centos-and-then-creating-a-full-rpm-941457/)

borgy95 04-24-2012 06:21 AM

Downloading Centos and then creating a full RPM
 
HI

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.)

now i think i've found the right iso's
at
http://centos.mirrorcatalogs.com/6.2/isos/x86_64/

on the link there are a few iso files three look related to centOs installation and creating a full local repo... have i fuigured this right?

I am Linux newb so this whole repo jazz has got me abit confused...

sibe 04-24-2012 07:00 AM

Hi,

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

borgy95 04-24-2012 07:04 AM

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.

suicidaleggroll 04-24-2012 08:41 AM

Quote:

Originally Posted by borgy95 (Post 4661599)
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.

borgy95 04-24-2012 09:43 AM

Brilliant guys thanks v much


All times are GMT -5. The time now is 12:25 AM.