Search:  
Gentoo Wiki

HOWTO_Use_dijjer_for_portage

This article is still a Stub. You can help Gentoo-Wiki by expanding it.

This is a work in progress... Don't expect everything to work. The ebuild isn't even in portage yet...

Introduction

Dijjer is free P2P software that dramatically reduces the bandwidth needed to host large files.

The purpose of this HOWTO is to explain how to use dijjer to download package file for portage.

Install and Start Dijjer

To install dijjer, just merge into your system by running

emerge -a dijjer

and then start it:

/etc/init.d/dijjer start

It's highly recommended that you start Dijjer at boot to maximize efficiency:

rc-update add dijjer default

Configuring Portage

In /etc/make.conf, add http://127.0.0.1:9115/http://CHANGETHEMIRROR/ as your first mirror. It is recommended that everyone uses the same mirror, as Dijjer will differentiate between files from one mirror and the other while they might be the same. It is therefore recommended to use the default Gentoo distfiles server at http://distfiles.gentoo.org/ by adding the following as your first mirror: http://127.0.0.1:9115/http://distfiles.gentoo.org/. A sample GENTOO_MIRRORS line in /etc/make.conf could be:

File: /etc/make.conf
GENTOO_MIRRORS="http://127.0.0.1:9115/http://distfiles.gentoo.org/ \
http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo \
http://gentoo.mirrors.easynews.com/linux/gentoo/ \
http://open-systems.ufl.edu/mirrors/gentoo"
http://distfiles.gentoo.org

And that's it... next time you install a package, you'll save the mirror some bandwidth.


Last modified: Mon, 04 Aug 2008 09:49:00 +0000 Hits: 10,401