Hi,
I have few machines with Centos 4 I 386. Are there any programs which manage the updates centrally sitting on an intranet? I would like to avoid down loading the upgrades individually for each machine. I am looking for an open source version.
Thanks
Rajeev
Rajeev R Veedu wrote:
Hi,
I have few machines with Centos 4 I 386. Are there any programs which manage the updates centrally sitting on an intranet? I would like to avoid down loading the upgrades individually for each machine. I am looking for an open source version.
You can mirror the repositories you need locally. Mirror from a mirror and then point all your boxes to your local mirror.
I have few machines with Centos 4 I 386. Are there any programs which manage the updates centrally sitting on an intranet? I would like to avoid down loading the upgrades individually for each machine. I am looking for an open source version.
You can mirror the repositories you need locally. Mirror from a mirror and then point all your boxes to your local mirror.
Use rsync to mirror, as that will keep bandwidth down once your first transfer is done. Also, only mirror what you need so you don't waste bandwidth.
Yum is what you need to update, but you probably know that. Edit /etc/yum.repos.d/CentOS-Base.repo to point to your intranet repository instead of external ones.
On Tue, 29 Aug 2006, Rajeev R Veedu wrote:
I have few machines with Centos 4 I 386. Are there any programs which manage the updates centrally sitting on an intranet? I would like to avoid down loading the upgrades individually for each machine. I am looking for an open source version.
Try Yam:
http://dag.wieers.com/home-made/yam/
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
Try Yam:
YAM is nice piece of SW but have two cons for me:
- I have to have ISO files for BASE of an repo. (please correct me if I am wrong) it force me to download ISOs by hand when CentOS respin is released
- I have to sync all packages from additional repos if you use several packages from RPMForge repo (thank you boys) you have to download/sync full repository or have a custom script downloading just what you want
Now i use this to make yams part of work: ======================================================= #!/bin/bash
RSYNC='rsync -rlptzH --delete --exclude=SRPMS --exclude="*.src.rpm"'
function download () { stSERVER=$1 stRSOPT=$2 stREL=$3 stARCH=$4 stFSROOT=$5 for i in $6 do # echo $RSYNC $stSERVER/$stREL/$i/$stARCH/ $stFSROOT/$i $RSYNC $stSERVER/$stREL/$i/$stARCH/ $stFSROOT/$i done }
# CentOS 4 OS a update SERVER="rsync.hrz.tu-chemnitz.de::ftp/pub/linux/centos" FSROOT="/var/install/CentOS-4-i386"
download $SERVER "" 4 i386 $FSROOT "os updates extras centosplus addons"
# CentOS 4 OS a update FSROOT="/var/install/CentOS-3-i386" download $SERVER "" 3 i386 $FSROOT "os updates extras centosplus addons"
cd /var/install
# update local packages repo createrepo -q local yum-arch -q local 2>/dev/null =================================================================
in local repo there are custom packages and some packages downloaded from RPMForge or others
On Mon, 4 Sep 2006, "Petr "Qaxi" Klíma" wrote:
Try Yam:
YAM is nice piece of SW but have two cons for me:
- I have to have ISO files for BASE of an repo. (please correct me if I am wrong) it force me to download ISOs by hand when CentOS respin is released
You only need the ISOs if you want to boot via the network. If you just require repositories, you don't need the ISOs.
- I have to sync all packages from additional repos if you use several packages from RPMForge repo (thank you boys) you have to
download/sync full repository or have a custom script downloading just what you want
Of course you can have custom scripts. Yam just offers standard locations and methodologies so that when you have to set it up multiple times you don't need to customize.
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
I have few machines with Centos 4 I 386. Are there any programs which manage the updates centrally sitting on an intranet? I would like to avoid down loading the upgrades individually for each machine. I am looking for an open source version.
Rajeev
Why not mirror centos tree/updates from your nearest CentOS mirror server locally on your 'intranet' server and change yum on all your servers to point to your local centos yum repo ?