User:Jebba/Mirror

(Run apt-mirror)
(* [http://espejo.freemoe.org/README Freemoe mirror README])
Line 1: Line 1:
 +
=Freemoe Mirror=
 +
See:
 +
* [http://espejo.freemoe.org/README Freemoe mirror README]
 +
=Mirroring Maemo Repositories=
=Mirroring Maemo Repositories=
This is a mini-HOWTO explaining how to mirror the Maemo repositories.
This is a mini-HOWTO explaining how to mirror the Maemo repositories.

Revision as of 04:30, 4 January 2010

Contents

Freemoe Mirror

See:

Mirroring Maemo Repositories

This is a mini-HOWTO explaining how to mirror the Maemo repositories.

Install apt-mirror

In Debian/Ubuntu/etc:

apt-get update
apt-get install apt-mirror

In Fedora/RPM-based systems:

yum install apt-mirror

Configure apt-mirror

Edit the mirror list.

In Debian:

/etc/apt/mirror.list

In Fedora:

/etc/apt-mirror.list

The file should look like this--update the mirror_path to where you would like them to point:

set defaultarch    armel
set nthreads     20
set _tilde 0
set mirror_path    /var/www/mirrors
deb http://repository.maemo.org/extras/ fremantle free
deb http://repository.maemo.org/extras-testing/ fremantle free
deb http://repository.maemo.org/extras-devel/ fremantle free

Run apt-mirror

Then simply run apt-mirror as root (or with sudo):

apt-mirror

If you changed your config file name, run it like this example:

apt-mirror /etc/apt/mirror-maemo-arm.list

TODO

This only shows how to mirror ARM extras*.

  • Add mirroring source
  • Add mirroring i386
  • Add mirroring downloads.maemo.nokia.com
  • Add automation (cron) notes
  • Howto set up your device to use mirror