User:Jebba/Mirror

(TODO)
(Run apt-mirror)
Line 32: Line 32:
==Run apt-mirror==
==Run apt-mirror==
-
Then simply run apt-mirror:
+
Then simply run apt-mirror as root (or with sudo):
  apt-mirror
  apt-mirror
 +
If you changed your config file name, run it like this example:
 +
apt-mirror maemo-extras
==TODO==
==TODO==

Revision as of 18:59, 3 January 2010

Contents

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 maemo-extras

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