[distcc] 60-second instructions for distcc/ssh/shell-account

Fergus Henderson fergus at google.com
Fri Jan 9 17:38:59 GMT 2009

On Tue, Jul 1, 2008 at 3:20 PM, Jonas Koelker <jonaskoelker at gnu.org> wrote:

> Hi.  If http://distcc.googlecode.com/svn/trunk/doc/web/index.html had the
> 60-second instructions for setting up distcc on an untrusted host to which
> you
> have ssh access (you're not root, you trust root, you don't trust anyone
> else), that would be great.

   1. Let *prefix* be the absolute path of a directory that you have write
   access to (this could be different on each machine).
   2. For each machine, download
   unpack, and do ./configure --prefix=*prefix* && make && make install
   If *prefix* is on a shared NFS file system accessible from all machines,
   then it may suffice to just do this just once.
   3. Put the names of the servers in your environment, prefixed with "@"
   (or "*username*@") and suffixed with a colon followed by the path to
   export DISTCC_POTENTIAL_HOSTS='localhost @red:*prefix*/bin/distccd @green
   :*prefix*/bin/distccd @blue:*prefix*/bin/distccd'
   4. Build!
   Wrap your build command in the "pump" script and use "distcc" as your C
   cd ~/work/myproject; pump make -j8 CC=distcc

Note however that ssh mode imposes a significant performance overhead.

Fergus Henderson <fergus at google.com>
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the distcc mailing list