How 2 #CentOS A Centos Installation Repository

8Dec/0910

Creating a Local #Fedora 12 #Yum Repository

yumfedora 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

14Oct/092

Adding #CentOS 5.4 to local #YUM Repository

centos
What is CentOS?

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

Tagged as: , 2 Comments
18Jun/094

Creating a Local #Fedora 11 #Yum Repository

yumfedoraWe 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 YUM server and client.

TIP: Distribute your Fedora YUM configuration via your Puppet Master

2Apr/090

Adding #CentOS 5.3 to Local #YUM Repository

centosCentOS 5.3 has just been released and that means it's time to update our Local CentOS 5.x YUM repo.