| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v 1.19 2004/07/02 15:47:15 swift Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v 1.20 2004/07/11 13:13:49 pylon Exp $ --> |
| 4 | |
4 | |
| 5 | <!-- |
5 | <!-- |
| 6 | Synchronised with rev 1.15 on |
6 | Synchronised with rev 1.15 on |
| 7 | http://www.thedoh.com/viewcvs/distcc/html/distcc.xml |
7 | http://www.thedoh.com/viewcvs/distcc/html/distcc.xml |
| 8 | --> |
8 | --> |
| … | |
… | |
| 25 | |
25 | |
| 26 | <author title="Editor"> |
26 | <author title="Editor"> |
| 27 | <mail link="swift@gentoo.org">Sven Vermeulen</mail> |
27 | <mail link="swift@gentoo.org">Sven Vermeulen</mail> |
| 28 | </author> |
28 | </author> |
| 29 | |
29 | |
|
|
30 | <author title="Editor"> |
|
|
31 | <mail link="pylon@gentoo.org">Lars Weiler</mail> |
|
|
32 | </author> |
|
|
33 | |
| 30 | <author title="Reviewer"> |
34 | <author title="Reviewer"> |
| 31 | <mail link="blubber@gentoo.org">Tiemo Kieft</mail> |
35 | <mail link="blubber@gentoo.org">Tiemo Kieft</mail> |
| 32 | </author> |
36 | </author> |
| 33 | |
37 | |
| 34 | <abstract> |
38 | <abstract> |
| … | |
… | |
| 37 | |
41 | |
| 38 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
42 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 39 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
43 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 40 | <license/> |
44 | <license/> |
| 41 | |
45 | |
| 42 | <version>1.7</version> |
46 | <version>1.7.1</version> |
| 43 | <date>July 02, 2004</date> |
47 | <date>July 11, 2004</date> |
| 44 | |
48 | |
| 45 | <chapter> |
49 | <chapter> |
| 46 | <title>Introduction</title> |
50 | <title>Introduction</title> |
| 47 | <section> |
51 | <section> |
| 48 | <title>What is distcc?</title> |
52 | <title>What is distcc?</title> |
| … | |
… | |
| 270 | </section> |
274 | </section> |
| 271 | <section> |
275 | <section> |
| 272 | <title>Step 2: Getting Distcc</title> |
276 | <title>Step 2: Getting Distcc</title> |
| 273 | <body> |
277 | <body> |
| 274 | |
278 | |
|
|
279 | <p>Before the installation of distcc, a user called distcc must be added to the |
|
|
280 | <path>/etc/passwd</path>:</p> |
|
|
281 | |
|
|
282 | <pre caption="Create user distcc"> |
|
|
283 | # <i>echo "distcc:x:240:2:distccd:/dev/null:/bin/false" >> /etc/passwd</i> |
|
|
284 | </pre> |
|
|
285 | |
| 275 | <p> |
286 | <p> |
| 276 | Install distcc: |
287 | Install distcc: |
| 277 | </p> |
288 | </p> |
| 278 | |
289 | |
| 279 | <pre caption="Getting Distcc on the new box"> |
290 | <pre caption="Getting Distcc on the new box"> |
| … | |
… | |
| 285 | <section> |
296 | <section> |
| 286 | <title>Step 3: Setting Up Distcc</title> |
297 | <title>Step 3: Setting Up Distcc</title> |
| 287 | <body> |
298 | <body> |
| 288 | |
299 | |
| 289 | <p> |
300 | <p> |
| 290 | Add a "distcc" user to the <path>/etc/passwd</path> file and run |
|
|
| 291 | <c>distcc-config</c> to setup distcc: |
301 | Run <c>distcc-config</c> to setup distcc: |
| 292 | </p> |
302 | </p> |
| 293 | |
303 | |
| 294 | <pre caption="Final distcc setup"> |
304 | <pre caption="Final distcc setup"> |
| 295 | # <i>echo "distcc:x:240:2:distccd:/dev/null:/bin/false" >> /etc/passwd</i> |
|
|
| 296 | <comment>(Substitute host1, host2, ... with the IP number(s) of the participating hosts)</comment> |
305 | <comment>(Substitute host1, host2, ... with the IP number(s) of the participating hosts)</comment> |
| 297 | # <i>/usr/bin/distcc-config --set-hosts "localhost host1 host2 host3 ..."</i> |
306 | # <i>/usr/bin/distcc-config --set-hosts "localhost host1 host2 host3 ..."</i> |
| 298 | </pre> |
307 | </pre> |
| 299 | |
308 | |
| 300 | <p> |
309 | <p> |