Re: Adding own mirror to yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 05, 2007 at 07:04:05 +0200,
  Mark Panen <mark.panen@xxxxxxxxx> wrote:
> On 9/5/07, Bruno Wolff III <bruno@xxxxxxxx> wrote:
> > On Wed, Sep 05, 2007 at 06:19:31 +0200,
> >   Mark Panen <mark.panen@xxxxxxxxx> 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 ?

That is from /etc/yum.repos.d/fedora-updates.repo . That is just the first
section, but you can change the debug and source sections similarly if
you want to change their mirror data as well.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux