Fedora Linux Support Community & Resources Center
  #1  
Old 30th January 2009, 04:00 PM
Onmeac Offline
Registered User
 
Join Date: Aug 2008
Location: Netherlands
Posts: 26
Mirror URL for repository.

I have been looking into setting up a local repository for updates etc as we have an increasing number of fedora clients/servers.

Searching the web I found multiple how-to’s on how to accomplish this little project.
One thing that bothers me is that each how-to seems to refer to a “static URL” mirror for rsync to get the rpms.

Somehow this seems wrong to me, as you would be downloading from the same mirror all the time.

edit: changed text to clarify more

Last edited by Onmeac; 30th January 2009 at 04:25 PM.
Reply With Quote
  #2  
Old 30th January 2009, 04:17 PM
William Haller Online
Registered User
 
Join Date: Jul 2005
Age: 52
Posts: 1,018
The last I looked, yum-pull was a bit out of date on versions but it is easy to cut and paste to update when a new version hits. It's the basis for what we use here. We've modified the scripts in ways that make it less flexible (only pull one architecture at once, for example and eliminate a bunch of repositories we will never need) but make it much easier to update for new releases of Fedora or Centos. It's certainly worth a look. It includes the mirrorlist directly in the code and selects randomly from that list to pick a repository.

It's usually easiest to populate the directory from the DVD first to reduce the amount of data to download. I might also suggest that it could be faster to get things in place and then start the process with the next Fedora release so you don't have to pull down so many updates.

I have a checkmirror script in perl that tries to avoid downloading old stuff. The yum-pull code will exclude old rpms and not archive them locally as well, but it still downloads them once before excluding.
Reply With Quote
Reply

Tags
mirror, repository, url

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum mirror in thailand? or repository on wl-500? snarfer Using Fedora 6 16th February 2008 01:22 AM
How To setup a yum repository mirror (or cache) liro Guides & Solutions (No Questions) 2 30th May 2006 01:12 PM
Choosing repository update mirror for yum dndfan Using Fedora 6 19th November 2005 08:57 PM


Current GMT-time: 18:36 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat