DistCC LiveCD

distributed compiling made easy

About

Distcc Livecd is a small (less than 50MB) bootable cdrom that contains a
uClibcLinux system, the
GNU compiler and a
distcc daemon. The purpose of this CD
is to be able to borrow compile CPU power from computers without installing
anything on the harddisk. The CD is build with the
Gentoo portage framework.

Contents

Download

How to use

Make sure that the BIOS is confgured to boot from cdrom. On some computers there is a key to press to get a boot menu.

Make sure the computer is connected to the network. It will try to optain
an ip adress from DHCP. The address will be displayed on screen.

If your network does not have DHCP you will have to
configure the network manually.

Enabling access for your network

By default disccd will allow connections from 192.168.0.0/16, 10.0.0.0/8 and
172.0.0.0/8. If you are on a different subnet you need to configure distccd to
allow your subnet. Log in as root and use nano to edit /etc/conf.d/distccd

# nano /etc/conf.d/distccd

Add or remove --allow entries to the DISTCC_OPTS variable. For example:

DISTCCD_OPTS="${DISTCCD_OPTS} --allow 192.168.65.0/24"

After that you have to restart the distccd service.

# /etc/init.d/distccd restart

Enabling SSH access

The ssh service is not enabled by default. To enable it you have to set a
root password and then start dropbear.