Mirroring

Differences between revisions 3 and 4
Revision 3 as of 2007-03-09 16:00:44
Size: 1345
Editor: 157
Comment: Add an example of using rsync to retrieve the mirror
Revision 4 as of 2007-05-22 17:36:39
Size: 1340
Editor: yttrium
Comment: don't mirror things as root, mmk?
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
$ sudo rsync -va rsync://archive.ubuntu.com/ubuntu /var/www $ rsync -va rsync://archive.ubuntu.com/ubuntu /var/www

Ubuntu Mirror System

There are two types of mirrors of Ubuntu: package archive mirrors, which mirror the packages that make up the distribution, including regular security update packages and [#cd-images release-cd-only mirrors]. In addition, if you run a very reliable package archive mirror in a country, you can request to be the Official Country Mirror for that country. This means that all installations of Ubuntu in that country will prefer to use your mirror rather than any other. If you wish to be an official country mirror, please email mirrors@ubuntu.com.

Package Archive Mirror Setup

The master package archive is available from:

For example, if you wish to create a mirror install apache on your computer then do the following:

$ rsync -va rsync://archive.ubuntu.com/ubuntu /var/www

An apt sources.list entry for the main archive would look like this:

deb http://archive.ubuntu.com/ubuntu dapper main
deb http://security.ubuntu.com/ubuntu dapper-security main

Besides 'main', there are also 'restricted', 'universe' and 'multiverse' archives, which provide additional non-free and/or unsupported software packages. See http://www.ubuntulinux.org/ubuntu/components/ for more information.

Archive/Mirroring (last edited 2008-08-06 16:35:17 by localhost)