LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 10-18-2012, 03:59 AM   #1
sorvad
Member
 
Registered: Apr 2004
Location: Cumbria, England
Distribution: openSuSE, Red Hat, HP-UX
Posts: 58

Rep: Reputation: 15
Question Create Local CentOS Repository


I have CentOS (6.3) installed on standalone PC. This will be never connected to the internet. Which is OK cos no need to check for security issues, but I would like to get a snapshot of CentOS repository (beyond what is on DVD).
I am wondering if it is possible to download the the contents of the online repository (as a one time snapshot) and set up my own repository.
Questions:
Is it possible?
Is it practical?
Where do I source it from?
I assume there will be quite a bit of storage needed (100Gb?)
 
Old 10-18-2012, 04:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
Totally possible... https://www.google.co.uk/search?q=Cr...tOS+Repository
 
Old 10-18-2012, 07:45 AM   #3
sorvad
Member
 
Registered: Apr 2004
Location: Cumbria, England
Distribution: openSuSE, Red Hat, HP-UX
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks for quick reply Chris.
Only problem I have with what I have read is that I only have internet access from a windows pc (my intention being to copy them to Linux machine via a portable hard drive).
Is there a way of copying to windows pc using torrent or something?
 
Old 10-18-2012, 08:58 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
no, but you can use tools like rsync on Windows
 
Old 11-04-2012, 01:00 PM   #5
nijinashok00
LQ Newbie
 
Registered: Sep 2012
Posts: 28

Rep: Reputation: Disabled
Download the rpm from any computer and transfers into any directory of your RHEL system. Then issue this command

createrepo <directory path>

After this give the baseurl in repo file as baseurl=file://<directory path>
 
  


Reply

Tags
centos, local, repository


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
Local repository on centos 5.4 callmanager Linux - Server 11 09-11-2012 05:46 AM
How to create a local repository? chipperfield Linux - Newbie 6 04-14-2010 12:04 AM
can i create a local yum repository? Sharaz Linux - General 5 01-21-2008 01:51 PM
Faluire to create local repository JackieBrown Debian 1 08-22-2006 06:39 PM
how to create a local apt repository bakwas_internet Fedora 3 01-19-2004 02:14 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration