User:Jebba/Mirror: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>jebba
initial page
 
imported>jebba
no mas
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
I have shut down my mirrors.
=Freemoe Mirror=
See:
* [http://espejo.freemoe.org/ Freemoe mirror info]
* [[User:Jebba/Espejo|Espejo server info]]
=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.
Line 32: Line 39:


==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 /etc/apt/mirror-maemo-arm.list


==TODO==
==TODO==
Line 46: Line 57:


* Add automation (cron) notes
* Add automation (cron) notes
* Howto set up your device to use mirror

Latest revision as of 15:44, 27 August 2010

I have shut down my mirrors.

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