3
edits
Changes
OOo Category
== Assigned machine ==
* Ireland (142.204.133.26) - Tested & Working - [[User:Minicheong|Frankie Law]] (irc Mini_Cheong), [[User:dmoon4|Daeseon Moon]] (irc daeseon)* Germany (142.204.133.102) - Tested & Working - Andrew Braini(aBraini)* Australia (142.204.133.24) - Tested & Working - [[User:wfred|Fred Wang]] (WFred)* China (142.204.133.36) - Tested & Working - Aaron Chan (achan66)* Liberia (142.204.133.123) - Tested & Working - [http://lzahir.blogspot.com/2009/01/my-distcc-setup-and-distributed.html Ladan Zahiroleslam] (irc: l_zahir, LZahir)* Hongkong (142.204.133.30) - Tested & Working - [[User:jtpau|Jerry Pau]] (jPau)* India (142.204.133.28) - Tested & Working - [[User:rmwang|Ryan Wang]] (rmwang), [[User:Tiago|Tiago Moreira]] (Kamots)
'''Status'''
** network connection went down again around 2pm, could not complete distcc setup --- [[User:Tiago|Tiago]]
** Ran through tutorial on Australia and it seemed good. I managed to compile Apache --- [[User:Tiago|Tiago]]
*'''Germany'''
** Connection keeps timing out at 9PM distccd user created, hosts file setup, tested and working on Thu 29 Jan 28, 2009.*** Edit: Seems the system froze some time around 5PM, no one is in CDOT so will have to try early Thursday morning (Jan. 29 09)** Distcc + Distccd should be running but needs to be double checked. --- [[User:Arbraini|ABraini]]
*'''Australia'''
*** hosts file setting done
*** user "distcc" created for running distccd. --- [[User:dmoon4|Daeseon Moon]]
*'''Hong Kong'''
** distcc user created, hosts file setup done
*'''Ireland'''
** distcc user created, hosts file setup done
*'''India'''
** distcc user created
** hosts file modified
*'''Liberia'''
** distcc user created
** hosts file modified
*'''China'''
** distcc user created
** hosts file modified
= distcc Setup Steps =
$ iptables -I INPUT 7 -i eth0 -p tcp -s 142.204.133.0/24 --dport 3632 -j ACCEPT
$ service iptables save </pre>
*Important Note: It seems the -I INPUT 7 argument is confusing a lot of people. -I INPUT 7 was used in Daeson's case for the machine he was working on at the time, however this may not be the same for all machines. In Daeson's case there was a REJECT line in the INPUT CHAIN at line 8. So in order for us to get our port open we need to insert ie. -I into the INPUT CHAIN at line 7 before the REJECT line. On Machines with an INPUT CHAIN shorter then 7 lines this will cause an error. On machines without a REJECT line a simple "-A" appened aurgument can take the place of "-I INPUT 7". On a machine with a REJECT INPUT on a line before 8 you simply need to change the number to one smaller as long as it is before the REJECT line.
** I'm not sure if we need to do this command, because if the file "HOSTS" at /etc/distcc/ is configured to have all the hosts name - distcc seems to distribute all compilation throughout the hosts.
Argument -I is insert and -i is and network interface device and -p is protocol -s is source ipaddress and subnet, –dport is destination port and -j is rule.
On the client machine the server names need to be added to the hosts listed in the file located at
<pre>/ectetc/distcc/hosts</pre>
To close/shut down the daemon (do not do unless needed)
<pre>$ service distccd stop</pre>
'''Testing'''
* things forgotten or left out.
== How to compile with distcc ==
[[Category:OpenOffice.org]]