Configuring to Fedora 17 Local Mirror of NITC

This will help you to configure your system to download packages from NITC fosscell fedora mirror.

Login as root in your system and use the following command to create a file inside the folder /etc/yum.repos.d

touch /etc/yum.repos.d/fosscellfedora

Copy and paste the folowing code into the created file using your favourite editor.

## Nitc fosscell fedora local mirror for fedora 17 and 18 
[NITCFedora-updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://fosscell.nitc.ac.in/fedora/updates/$releasever/$basearch
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-$basearch 


[NITCFedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://fosscell.nitc.ac.in/fedora/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

Update packages.

sudo yum install update

Reference: Fedora docs


comments powered by Disqus