![]()
Fedora 13 (Goddard) is out and it’s time to add it to our arsenal of local yum repositories. We all know the importance of creating a local YUM repository on your LAN. Not only do you decrease the time it takes to download and install updates, you also decrease bandwidth usage.
Fedora 13 (Goddard) release notes
This How To will show you a simple yet effective way to create your local Fedora 13 YUM repository and client.
TIP: Distribute your Fedora YUM configuration via your Puppet Master
CentOS is 100% compatible rebuild of the Red Hat Enterprise Linux, in full compliance with Red Hat’s redistribution requirements. CentOS is for people who need an enterprise class operating system stability without the cost of certification and support.
What is YUM?
The Yellowdog Updater, Modified (YUM) is an open-source command-line package-management utility for RPM-compatible Linux operating systems and has been released under the GNU General Public License. It was developed by Seth Vidal and a group of volunteer programmers. Though yum has a command-line interface, several other tools provide graphical user interfaces to yum functionality.
Following the release of RHEL 5.5, CentOS 5.5 has just hit the CentOS 5.5 download mirrors. Time to update the Local CentOS YUM repository script. This update script, via Rsync, will create a local CentOS 5.5 download mirror. Your local CentOS 5.5 Servers will then be able to to update from this local repository. Continue reading »
![]()
Fedora 12 has just been released so it’s time to add it to our arsenal of local yum repositories. We all know the importance of creating a local YUM repository on your LAN. Not only do you decrease the time it takes to download and install updates, you also decrease bandwidth usage.
This How To will show you a simple yet effective way of setting up your local Fedora 12 YUM repository and client.
TIP: Distribute your Fedora YUM configuration via your Puppet Master
CentOS is 100% compatible rebuild of the Red Hat Enterprise Linux, in full compliance with Red Hat’s redistribution requirements. CentOS is for people who need an enterprise class operating system stability without the cost of certification and support.
Following the release of RHEL 5.4, CentOS 5.4 has just hit the CentOS mirrors. Time to update the Local CentOS YUM repository script.
Adding CentOS 5.4 to the YUM repository script
Create the following additional Directories for CentOS 5.4:
# mkdir -p /var/www/html/centos/5.4/os/i386
# mkdir -p /var/www/html/centos/5.4/updates/i386
# mkdir -p /var/www/html/centos/5.4/os/x86_64
# mkdir -p /var/www/html/centos/5.4/updates/x86_64
Add the CentOS 5.4 repository to the bash script which will rsync your local YUM repository server with a CentOS 5.4 YUM mirror.
CentOS Mirror list – http://www.centos.org/modules/tinycontent/index.php?id=30
# vi yum-repo-update.sh
#!/bin/sh
rsync="rsync -avrt --bwlimit=256"
mirror=ftp.is.co.za::IS-Mirror/centos
verlist="5.3 5.4"
archlist="i386 x86_64"
baselist="os updates"
local=/var/www/html/centos/
for ver in $verlist
do
for arch in $archlist
do
for base in $baselist
do
remote=$mirror/$ver/$base/$arch/
$rsync $remote $local/$ver/$base/$arch/
done
done
done
NB! Please read creating a Local CentOS YUM repository on CentOS 5.x before implementing.
Upgrading from CentOS 5.3 ( or CentOS 5.0 / 5.1 / 5.2 ):
If you are already running CentOS 5.3 or an older CentOS 5 distro, all you need to do is update your machine via yum by running :
# yum update


