[CentOS-mirror] New Mirror Online

Austin G. Smith Austin at digitalson.com
Sun Nov 30 21:59:35 UTC 2008


These files have been added.  For reference, below is the script I am
using.  This is based on a script found on the public mirror how to
thread on centos.org.  Hopefully it can help bring some additional
mirrors up ;)

----------------------Begin File---------------

#!/bin/sh

rsync="rsync -aqvHz --delete"

# this should be auto-selected, but the centos mirror script doesn't
# support selection by a specific protocol (i.e., rsync)
mirror=us-msync.centos.org::CentOS
#mirror=centos.cs.wisc.edu::centos
#mirror=mirrors.usc.edu::centos

rsync -aqvHz --delete us-msync.centos.org::CentOS/RPM-GPG-KEY-CentOS-4
/var/www/html/centos/RPM-GPG-KEY-CentOS-4
rsync -aqvHz --delete us-msync.centos.org::CentOS/RPM-GPG-KEY-CentOS-5
/var/www/html/centos/RPM-GPG-KEY-CentOS-5
rsync -aqvHz --delete us-msync.centos.org::CentOS/RPM-GPG-KEY-centos4
/var/www/html/centos/RPM-GPG-KEY-centos4
rsync -aqvHz --delete us-msync.centos.org::CentOS/TIME
/var/www/html/centos/TIME
rsync -aqvHz --delete us-msync.centos.org::CentOS/timestamp.txt
/var/www/html/centos/timestamp.txt



ver=4
archlist="i386 x86_64"
baselist="os updates"
local=/var/www/html/centos

for arch in $archlist
do
  for base in $baselist
  do
    remote=$mirror/$ver/$base/$arch/
    $rsync $remote $local/$ver/$base/$arch/
  done
done

ver=5
archlist="i386 x86_64"
baselist="os updates"
local=/var/www/html/centos

for arch in $archlist
do
  for base in $baselist
  do
    remote=$mirror/$ver/$base/$arch/
    $rsync $remote $local/$ver/$base/$arch/
  done
done

----------------------EOF-------------------

Thank you,

Austin G. Smith, A+, MCP, MCPS, MCNPS (Network Infrastructure)
Digital Son, I.T. Services
www.digitalson.com
678.213.0550 x:101 Office
678.213.0535 Fax

Got VoIP?


-----Original Message-----
From: centos-mirror-bounces at centos.org
[mailto:centos-mirror-bounces at centos.org] On Behalf Of Tru Huynh
Sent: Sunday, November 30, 2008 4:08 PM
To: Mailing list for CentOS mirrors.
Subject: Re: [CentOS-mirror] New Mirror Online

On Sat, Nov 29, 2008 at 05:14:57PM -0500, Austin G. Smith wrote:
> A new mirror is online and available for use.  HTTP only for now- 
> http://centos.digitalson.com/centos  Carrying versions 4 and 5; i386 
> and
> x86_64 branches.  May add CD's and DVD's after analyzing bandwidth 
> usage.

please add the mandatory top level files...

RPM-GPG-KEY-CentOS-4
RPM-GPG-KEY-CentOS-5
RPM-GPG-KEY-centos4
TIME
timestamp.txt

I am adding your mirror now, but it won't be listed before these files
are available.

Cheers, and thank you for your support.

Tru
--
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.9.11/1819 - Release Date:
11/29/2008 6:52 PM


More information about the CentOS-mirror mailing list