yum install autoconf
yum install automake
yum install python-devel
下载distcc源码:https://code.google.com/p/distcc/downloads/list
进distcc目录
autogen.sh
configure –disable-Werror
make
make install
在/etc/rc.local中指定可接受的客户机列表
distccd –daemon –user nobody –allow 192.168.95.185 –allow 192.168.95.186 –allow 192.168.95.187
在~/.distcc/hosts文件配置可用的服务机列表
IP用空格格开,即 192.168.95.185 192.168.95.186
make -j12