Adding own mirror to yum

Mark Panen mark.panen at gmail.com
Wed Sep 5 05:04:05 UTC 2007


On 9/5/07, Bruno Wolff III <bruno at wolff.to> wrote:
> On Wed, Sep 05, 2007 at 06:19:31 +0200,
>   Mark Panen <mark.panen at gmail.com> wrote:
> > Hi
> >
> > How would i alter the fedora-updates-repo file below to add my own
> > mirror and only use my own local mirror. I have played around with
> > various options without success.
>
> This is what I have for my local updates mirror:
> [updates]
> name=Fedora $releasever - $basearch - Updates
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/
> $basearch/
> baseurl=file:///home/f7u/
> #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$
> releasever&arch=$basearch
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
>

How should the file "/etc/yum.repos.d/file.repo" look like ?




More information about the fedora-list mailing list