LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-04-2007, 10:19 AM   #1
domboy
LQ Newbie
 
Registered: Dec 2007
Location: Wilmington NC
Distribution: Suse, Debian
Posts: 6

Rep: Reputation: 0
Setting up a local linux repository


First, my apologies if this has been asked before... but in searching, I've not been able to find a complete answer to my question, only parts and pieces.

Here is what I want to setup - a local copy/repository of installation points, updates, etc. of multiple linux distributions from which I can install from, pull updates from, and so on. Now, I'm not talking different versions of the same distro (suse 9.3, 10, etc), but a mix of different distributions such as debian, suse, ubuntu, whatever. Everything I've found so far in searching the web are things such as "how to setup a yum repository", or "setting up a debian archive mirror", etc. In other words, instructions on how to setup a repository or local cache for a specific distro, and that one only. But it's plainly obvious there are mirrors all over the place that have a collage of different distros on the same site. My best guess so far is to simply rsync a mirror or several mirrors to create the mix that I want. Something like what is done in this write up with Debian:

http://www.debian.org/mirror/ftpmirror

They use rsync (in the anonftpsync script mentioned), to duplicate all or part of a debian mirror to a local server. Perhaps I should take that example and modify it to rsync other distribution mirrors as well?? Has anyone done something like what I want to do? Maybe it's easy or painfully obvious, and I've just missed that. Any help, suggestions, or directions would be greatly appreciated. Thanks!
 
Old 12-04-2007, 11:39 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

Shouldn't be a problem. Just mirror each distro's repository in a different directory on your FTP server, e.g.
/var/ftp/fedora8
/var/ftp/debian-etch
/var/ftp/ubuntuTwelveAndAHalf

or whatever.

Dave
 
Old 12-04-2007, 11:42 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
AFAIK, there is no one-single-mirror-for-all-existing-distros. Instead you have to setup separate mirrors as you've noted. If I were to do something similar, I may mirror a mirror to my local network to get everything over first (find a fast mirror that has the bulk of the mirror data you want) and then follow the directions for each distro to mirror from that point onward.

My understanding is that each distro has different "guidelines" for mirroring, and following those guidelines is both courteous to the existing mirror providers and beneficial to you long term. You can become somewhat comfortable in your automated mirror if you follow the guidelines because you can reasonably expect the mirrored data to be relatively always available and relatively very up-to-date.

-Chad
 
Old 12-04-2007, 03:17 PM   #4
domboy
LQ Newbie
 
Registered: Dec 2007
Location: Wilmington NC
Distribution: Suse, Debian
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks guys. I guess I'm on the right track after all.
 
Old 01-21-2008, 07:33 AM   #5
voondo
LQ Newbie
 
Registered: Jan 2008
Posts: 4
Blog Entries: 1

Rep: Reputation: 0
Use FUSE+LftpFS
Mount any repository and share over FTP into intranet.
 
Old 02-18-2008, 03:23 PM   #6
domboy
LQ Newbie
 
Registered: Dec 2007
Location: Wilmington NC
Distribution: Suse, Debian
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks, I'll check it out!
 
  


Reply



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
can i create a local yum repository? Sharaz Linux - General 5 01-21-2008 01:51 PM
install kubuntu from local repository DropSig Ubuntu 1 10-19-2007 02:20 PM
how can i add a local Folder on local Hard Disk as Yum Repository ?? vahid_p Fedora 4 02-22-2007 10:43 AM
Up2date and local repository Deviathan Red Hat 5 12-14-2006 08:57 AM
local repository fails robingazi Debian 2 08-21-2006 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:15 PM.

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