LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-24-2012, 06:21 AM   #1
borgy95
Member
 
Registered: Mar 2012
Location: England
Distribution: Debian, Kali, CentOS 7
Posts: 64

Rep: Reputation: Disabled
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...
 
Old 04-24-2012, 07:00 AM   #2
sibe
Member
 
Registered: Apr 2011
Location: Jakarta, Indonesia
Distribution: Fedora, CentOS
Posts: 122

Rep: Reputation: 21
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
 
1 members found this post helpful.
Old 04-24-2012, 07:04 AM   #3
borgy95
Member
 
Registered: Mar 2012
Location: England
Distribution: Debian, Kali, CentOS 7
Posts: 64

Original Poster
Rep: Reputation: Disabled
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.

Last edited by borgy95; 04-24-2012 at 07:06 AM.
 
Old 04-24-2012, 08:41 AM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by borgy95 View Post
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.
 
1 members found this post helpful.
Old 04-24-2012, 09:43 AM   #5
borgy95
Member
 
Registered: Mar 2012
Location: England
Distribution: Debian, Kali, CentOS 7
Posts: 64

Original Poster
Rep: Reputation: Disabled
Brilliant guys thanks v much
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] curl not downloading full webpage BeaverusIV Programming 2 01-02-2012 06:04 AM
Downloading using rpm jonn.moon Linux - Newbie 2 10-12-2010 12:44 AM
Creating an RPM that installs in a directory made by another RPM erinfin Linux - Software 4 11-15-2007 05:10 PM
question about downloading centOS 4.4 darsunt Red Hat 1 03-30-2007 02:26 AM
Are there full OpenBSD ISO for downloading ? alred *BSD 3 08-19-2005 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration