Local cache for RPM repositories
Phillip Compton
pcompton at proteinmedia.com
Mon Nov 24 23:22:55 UTC 2003
On Mon, 2003-11-24 at 18:14, Laurent GUERBY wrote:
> Hi,
>
> I have three machines at home (ADSL 512k) and I also maintain my mother
> machine (far away, on 56k modem). I'd like to download packages
> only once from my three home machines, and to be able to burn
> a few CDs (or fill an external USB2 drive) with the updates when I visit
> my mother. I'm using up2date and yum for now on fedora.redhat.com and
> freshrpms.net.
>
> Is there a documented way to do what I want? May be mirror using wget,
> tweaking /etc/yum.conf and /etc/sysconfig/rhn/sources?
Setting up local yum repositories is easy. Just add this to your
yum.conf:
[your-local]
name=Your Local Repo
baseurl=file:///path/to/your/repo
In order to create the headers for the repo, just run:
yum-arch /path/to/your/repo
Phil
More information about the users
mailing list