Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th July 2009, 04:51 AM
markdk Offline
Registered User
 
Join Date: Jan 2009
Location: New Zealand
Posts: 58
Use a local repository for only those updates you are using, if you have many servers

I have multiple FCnn servers to play with, but limited bandwidth to download updates.
My solution was to on one machine change yum to keep the rpms it downloaded for updates in cache, and move the cached rpms to a local repository on served by that machine. Then use the yum priorities plugin on all my other servers to search that one machine on my local network for updates before searching the web.
This solution will still search the web for dependencies if needed, so nothing breaks this way.

There are lots of posts out there on how to create a local mirror of the updates repository, but I don't have the bandwidth for that, nor do most of us need every package in the updates repository.

This solution creates a local repository containing only the updates made to packages I am using, needing minimal disk space but still allowing all my other servers get updates for those same packages from the internal network.

Hopefully usefull to others.

The attachment is a pdf explaining how I set my environment up, created by openoffice, which is one of those updates I didn't want to pull down off the web for multiple servers :-), much better to serve the updates from the local network.
Attached Files
File Type: pdf SettingUpALocalRepo.pdf (117.6 KB, 133 views)
Reply With Quote
  #2  
Old 25th July 2009, 05:20 AM
Astrals's Avatar
Astrals Offline
Registered User
 
Join Date: May 2008
Location: That's why we all leave Bigpond ISP.
Posts: 84
Thank you this will help me out. A short no no-nonsense precise file.
__________________
That's why we all leave Bigpond ISP.
Once you use linux, learn a few basics, you'll never go back to the windows darkness.
Reply With Quote
  #3  
Old 25th August 2009, 05:37 PM
onefreeman Offline
Registered User
 
Join Date: Aug 2009
Posts: 2
windows_xp_2003safari
Thanks a lot. I think this is exactly what I need.
Reply With Quote
  #4  
Old 3rd September 2009, 07:31 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,109
linuxfedorafirefox
Really nice. I'm going to have to try it out. One possibility for extension for you is to create a virtual machine to emulate a workstation that has "everything". Then use the VM to download updates, but store the repository on the host server.

That way you wouldn't have to put stuff on the server that you really don't want.., and you get a test location to
verify that you didn't get a bad update before it propagates to the other systems.
Reply With Quote
  #5  
Old 7th September 2009, 07:12 AM
zmdmw52's Avatar
zmdmw52 Offline
Registered User
 
Join Date: Dec 2007
Posts: 83
linuxubuntufirefox
Question

Quote:
Originally Posted by markdk View Post
I have multiple FCnn servers to play with, but limited bandwidth to download updates.
My solution was to on one machine change yum to keep the rpms it downloaded for updates in cache, and move the cached rpms to a local repository on served by that machine. Then use the yum priorities plugin on all my other servers to search that one machine on my local network for updates before searching the web.
This solution will still search the web for dependencies if needed, so nothing breaks this way.

This solution creates a local repository containing only the updates made to packages I am using, needing minimal disk space but still allowing all my other servers get updates for those same packages from the internal network.

Hopefully usefull to others.
Will this work for use a single PC, i.e. create a local repo (of Updates, additional downloaded/installed RPM's) on a single-user PC (not a server or networked to any other PC's); so that if there is a problem, I can use this repo as a local Update/Install repo on the PC itself instead of having to d/l & install all the updates again.
__________________
Linux User 483705 @ http://counter.li.org
Smolt Profile (Fedora 12 Desktop PC)


Reply With Quote
  #6  
Old 18th September 2009, 02:56 AM
markdk Offline
Registered User
 
Join Date: Jan 2009
Location: New Zealand
Posts: 58
linuxfedorafirefox
For a local PC if you want to cache the updates and then copy them off to CD or another filesystem it gets a little more complicated. If you check the 'yum' man pages you will see that you can setup yum to use a repository that is a 'file' (as in on the file system) rather than an http or ftp url; which is pretty much how the install CD does it in the first place, if you look through the files on the install CD you will see what I mean. So yes, you could do it as long as you used createrepo to keep the rpms you have downloaded in the correct structure and had them available at re-install time.

So I can say it is possible. I have not attempted that myself though so don't know how complicated it would really be.
Reply With Quote
Reply

Tags
local, repository, servers, updates

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
Are Fedora repository servers down? joe.pelayo Using Fedora 29 18th May 2007 05:20 AM
creating local NTP without global servers ? cromologic Servers & Networking 0 8th August 2005 04:05 AM


Current GMT-time: 11:41 (Saturday, 25-05-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