| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/Attic/ltsp.xml,v 1.6 2004/02/19 15:10:02 swift Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/Attic/ltsp.xml,v 1.7 2004/04/11 13:30:27 swift Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/ltsp.xml"> |
5 | <guide link="/doc/en/ltsp.xml"> |
| 6 | <title>Gentoo - LTSP Guide</title> |
6 | <title>Gentoo - LTSP Guide</title> |
| 7 | <author title="Author"> |
7 | <author title="Author"> |
| … | |
… | |
| 18 | This guide shows you how to setup a LTSP Server with Gentoo. |
18 | This guide shows you how to setup a LTSP Server with Gentoo. |
| 19 | </abstract> |
19 | </abstract> |
| 20 | |
20 | |
| 21 | <license/> |
21 | <license/> |
| 22 | |
22 | |
| 23 | <version>1.3</version> |
23 | <version>1.4</version> |
| 24 | <date>December 11, 2003</date> |
24 | <date>April 11, 2004</date> |
| 25 | <chapter> |
25 | <chapter> |
| 26 | <title>Introduction</title> |
26 | <title>Introduction</title> |
| 27 | <section> |
27 | <section> |
| 28 | <title>What is LTSP?</title> |
28 | <title>What is LTSP?</title> |
| 29 | <body> |
29 | <body> |
| … | |
… | |
| 111 | <body> |
111 | <body> |
| 112 | |
112 | |
| 113 | <p> |
113 | <p> |
| 114 | To analyze problems easier, the system logger must be configured to |
114 | To analyze problems easier, the system logger must be configured to |
| 115 | accept remote connections. Please read the documentation of your |
115 | accept remote connections. Please read the documentation of your |
| 116 | system logger on how to achieve this. |
116 | system logger on how to achieve this. If, for example, you are using |
|
|
117 | sysklogd, all you need to do is edit <path>/etc/conf.d/sysklogd</path> and add |
|
|
118 | "-r" to the SYSLOGD line: |
|
|
119 | </p> |
|
|
120 | |
|
|
121 | <pre caption="/etc/conf.d/sysklogd"> |
|
|
122 | SYSLOGD="-m 0 -r" |
|
|
123 | KLOGD="-c 3 -2" |
| 117 | </p> |
124 | </pre> |
| 118 | |
125 | |
| 119 | </body> |
126 | </body> |
| 120 | </section> |
127 | </section> |
| 121 | <section> |
128 | <section> |
| 122 | <title>NFS</title> |
129 | <title>NFS</title> |
| … | |
… | |
| 151 | </section> |
158 | </section> |
| 152 | |
159 | |
| 153 | <section> |
160 | <section> |
| 154 | <title>xinetd/tftp</title> |
161 | <title>xinetd/tftp</title> |
| 155 | <body> |
162 | <body> |
| 156 | |
163 | <p> |
|
|
164 | TFTP requires a bit of configuring to get it to work properly. First, |
|
|
165 | edit <path>/etc/conf.d/in.tftpd</path> to set tftpd's path correctly: |
| 157 | <p> |
166 | </p> |
| 158 | By default TFTP won't be started, to change this edit |
167 | |
|
|
168 | <pre caption="/etc/conf.d/in.tftpd"> |
|
|
169 | INTFTPD_PATH="/tftpboot" |
|
|
170 | INTFTPD_OPTS="${INTFTPD_PATH}" |
|
|
171 | </pre> |
|
|
172 | |
|
|
173 | <p> |
|
|
174 | Next, configure xinetd to run TFTP and allow remote connections. First, |
|
|
175 | check to see if the file <path>/etc/xinetd.d/tftp</path> was created when |
|
|
176 | you emerged tftp. By default TFTP won't be started by xinetd, so to change |
| 159 | <path>/etc/xinetd.d/tftp</path> and replace <c>disable=yes</c> with |
177 | this edit <path>/etc/xinetd.d/tftp</path> and replace <c>disable=yes</c> with |
| 160 | <c>disable=no</c>. Afterwards, start xinetd. |
178 | <c>disable=no</c>. |
|
|
179 | </p> |
|
|
180 | |
|
|
181 | <pre caption="/etc/xinetd.d/tftp"> |
|
|
182 | service tftp |
|
|
183 | { |
|
|
184 | disable = no |
|
|
185 | socket_type = dgram |
|
|
186 | protocol = udp |
|
|
187 | wait = yes |
|
|
188 | user = root |
|
|
189 | server = /usr/sbin/in.tftpd |
|
|
190 | } |
|
|
191 | </pre> |
|
|
192 | |
|
|
193 | <p> |
|
|
194 | Now edit <path>/etc/xinetd.conf</path> and comment out the line <c>only_from = localhost</c> by prefacing it with a <c>#</c>. Finally, start xinetd. |
| 161 | </p> |
195 | </p> |
| 162 | |
196 | |
| 163 | <pre caption="Starting xinetd"> |
197 | <pre caption="Starting xinetd"> |
| 164 | # <i>rc-update add xinetd default</i> |
198 | # <i>rc-update add xinetd default</i> |
| 165 | # <i>/etc/init.d/xinetd start</i> |
199 | # <i>/etc/init.d/xinetd start</i> |
| … | |
… | |
| 247 | |
281 | |
| 248 | <p> |
282 | <p> |
| 249 | If your workstations support PXE, you should list each one of them as we |
283 | If your workstations support PXE, you should list each one of them as we |
| 250 | have done with <e>host ws001</e> (don't forget to uncomment it). Don't |
284 | have done with <e>host ws001</e> (don't forget to uncomment it). Don't |
| 251 | give them an adress in the dynamic range, otherwise it would be possible |
285 | give them an adress in the dynamic range, otherwise it would be possible |
| 252 | that more workstations have the same IP (which is troublesome). |
286 | that more workstations have the same IP (which is troublesome). Remember, if you cut-n-paste the above example, replace any "//" comments with "##", or else dhcp will fail to start. |
| 253 | </p> |
287 | </p> |
| 254 | |
288 | |
| 255 | <p> |
289 | <p> |
| 256 | For more documentation on this item read the official dhcp handbook: |
290 | For more documentation on this item read the official dhcp handbook: |
| 257 | <uri>http://www.dhcp-handbook.com/</uri> |
291 | <uri>http://www.dhcp-handbook.com/</uri> |
| … | |
… | |
| 280 | <p> |
314 | <p> |
| 281 | There are many options to configure your workstations, visit |
315 | There are many options to configure your workstations, visit |
| 282 | <uri>http://www.ltsp.org/documentation/ltsp-3.0-4-en.html#AEN903</uri> |
316 | <uri>http://www.ltsp.org/documentation/ltsp-3.0-4-en.html#AEN903</uri> |
| 283 | for a full description of <path>/opt/ltsp/i386/etc/lts.conf</path>. |
317 | for a full description of <path>/opt/ltsp/i386/etc/lts.conf</path>. |
| 284 | </p> |
318 | </p> |
|
|
319 | |
|
|
320 | <p> |
|
|
321 | As a few suggestions to get started, you will want to first copy <path>/opt/ltsp/i386/etc/lts.conf.example</path> to <path>/opt/ltsp/i386/etc/lts.conf</path> and edit it from there. You may want to try changing the <c>SCREEN_01</c> option to read |
|
|
322 | <c>SCREEN_01 = startx</c>. To use a USB mouse on the remote client, add the following MODULE lines, and change the X_MOUSE_* lines as follows: |
|
|
323 | </p> |
|
|
324 | |
|
|
325 | <pre caption="/opt/ltsp/i386/etc/lts.conf"> |
|
|
326 | MODULE_01 = usb-uhci |
|
|
327 | MODULE_02 = mousedev |
|
|
328 | MODULE_03 = usbmouse |
|
|
329 | X_MOUSE_PROTOCOL = "IMPS/2" |
|
|
330 | X_MOUSE_DEVICE = "/dev/input/mice" |
|
|
331 | </pre> |
| 285 | |
332 | |
| 286 | </body> |
333 | </body> |
| 287 | </section> |
334 | </section> |
| 288 | |
335 | |
| 289 | <section> |
336 | <section> |
| … | |
… | |
| 334 | |
381 | |
| 335 | <warn> |
382 | <warn> |
| 336 | There seem to be problems currently with XDM and GDM. The author used |
383 | There seem to be problems currently with XDM and GDM. The author used |
| 337 | KDM to resolve these issues. |
384 | KDM to resolve these issues. |
| 338 | </warn> |
385 | </warn> |
|
|
386 | |
|
|
387 | <p> |
|
|
388 | Remember, if your display manager is already running, restarting the X server via CTRL-ALT-BACKSPACE doesn't restart the display manager. |
|
|
389 | </p> |
| 339 | |
390 | |
| 340 | </body> |
391 | </body> |
| 341 | </section> |
392 | </section> |
| 342 | |
393 | |
| 343 | <section> |
394 | <section> |