Configuring to Fedora 17 Local Mirror of NITC
This will help you configure your system to download packages from the NITC fosscell Fedora mirror.
Log in as root and use the following command to create a file inside /etc/yum.repos.d:
touch /etc/yum.repos.d/fosscellfedora
Copy and paste the following 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