[CentOS-mirror] New private mirror

Pär Andersson

paran at nsc.liu.se
Fri Nov 6 20:29:34 UTC 2009


Nick Olsen <Nick at 141networks.com> writes:

> All I have to do in the repo file on my servers is comment out the 
> mirror list and un-comment the base url, and replace the 
> mirrorlist.centos.org with mirror.141networks.com works great.

I keep the mirrorlist and configure failovermethod=priority. This makes
yum fail over and use the normal mirror network if our own mirror is
down. Example config:

baseurl=http://mirror.nsc.liu.se/centos/$releasever/os/$basearch/
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
failovermethod=priority

Regards,

Pär Andersson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos-mirror/attachments/20091106/e4c866a6/attachment.sig>


More information about the CentOS-mirror mailing list