/[gentoo]/xml/htdocs/doc/en/ltsp.xml
Gentoo

Diff of /xml/htdocs/doc/en/ltsp.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.9
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.8 2004/05/12 08:47:32 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/Attic/ltsp.xml,v 1.9 2004/08/20 14:24:36 neysx 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">
18This guide shows you how to setup a LTSP Server with Gentoo. 18This 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.5</version> 23<version>1.6</version>
24<date>May 12, 2004</date> 24<date>August 20, 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>
159 159
160<section> 160<section>
161<title>xinetd/tftp</title> 161<title>xinetd/tftp</title>
162<body> 162<body>
163<p> 163<p>
164TFTP requires a bit of configuring to get it to work properly. First, 164TFTP requires a bit of configuring to get it to work properly. First, edit
165edit <path>/etc/conf.d/in.tftpd</path> to set tftpd's path correctly: 165<path>/etc/conf.d/in.tftpd</path> to set tftpd's options and path correctly:
166</p> 166</p>
167 167
168<pre caption="/etc/conf.d/in.tftpd"> 168<pre caption="/etc/conf.d/in.tftpd">
169INTFTPD_PATH="/tftpboot" 169INTFTPD_PATH="/tftpboot"
170INTFTPD_OPTS="${INTFTPD_PATH}" 170INTFTPD_OPTS="-s ${INTFTPD_PATH}"
171</pre> 171</pre>
172 172
173<p>
174The -s flag specifies that TFTP is to run in secure chrooted mode
175(recommended). This means that you don't need to include the
176<path>/tftpboot</path> path for example in the DHCP configuration.
173<p> 177</p>
178
179<p>
174Next, configure xinetd to run TFTP and allow remote connections. First, 180Next, configure xinetd to run TFTP and allow remote connections. By default
175check to see if the file <path>/etc/xinetd.d/tftp</path> was created when 181TFTP won't be started by xinetd, so edit <path>/etc/xinetd.d/tftp</path> and
176you emerged tftp. By default TFTP won't be started by xinetd, so to change 182replace <c>disable=yes</c> with <c>disable=no</c>. If the file is missing just
177this edit <path>/etc/xinetd.d/tftp</path> and replace <c>disable=yes</c> with 183go ahead and create <path>/etc/xinetd.d/tftp</path> with the contents below.
178<c>disable=no</c>.
179</p> 184</p>
180 185
181<pre caption="/etc/xinetd.d/tftp"> 186<pre caption="/etc/xinetd.d/tftp">
182service tftp 187service tftp
183{ 188{
219</p> 224</p>
220 225
221<pre caption="/etc/hosts"> 226<pre caption="/etc/hosts">
222127.0.0.1 localhost 227127.0.0.1 localhost
223192.168.0.254 server server.yourdomain.com 228192.168.0.254 server server.yourdomain.com
224192.168.0.1 ws-1 ws-1.yourdomain.com 229192.168.0.1 ws001 ws001.yourdomain.com
225</pre> 230</pre>
226 231
227</body> 232</body>
228</section> 233</section>
229<section> 234<section>
255option log-servers 192.168.0.254; 260option log-servers 192.168.0.254;
256option domain-name "yourdomain.com"; 261option domain-name "yourdomain.com";
257 262
258<codenote>LTSP Path Options</codenote> 263<codenote>LTSP Path Options</codenote>
259option root-path "192.168.0.254:/opt/ltsp/i386"; 264option root-path "192.168.0.254:/opt/ltsp/i386";
260filename "/lts/vmlinuz-2.4.19-ltsp-1"; 265filename "/lts/vmlinuz-2.4.24-ltsp-1";
261 266
262<codenote>If your workstations have ISA NICs uncomment the following</codenote> 267<codenote>If your workstations have ISA NICs uncomment the following</codenote>
263<codenote>lines and alter the driver and IO</codenote> 268<codenote>lines and alter the driver and IO</codenote>
264#option option-128 code 128 = string; 269#option option-128 code 128 = string;
265#option option-129 code 129 = text; 270#option option-129 code 129 = text;
267#option option-129 "NIC=ne IO=0x300"; 272#option option-129 "NIC=ne IO=0x300";
268 273
269shared-network WORKSTATIONS { 274shared-network WORKSTATIONS {
270 subnet 192.168.0.0 netmask 255.255.255.0 { 275 subnet 192.168.0.0 netmask 255.255.255.0 {
271 <codenote>Distribute dynamic IPs to the workstations</codenote> 276 <codenote>Distribute dynamic IPs to the workstations</codenote>
272 range dynamic-bootp 192.168.1.1 192.168.1.16; 277 range dynamic-bootp 192.168.0.1 192.168.0.16;
273 <codenote>Workstation specific configuration for PXE booting</codenote> 278 <codenote>Workstation specific configuration for PXE booting</codenote>
274 #host ws001 { 279 #host ws001 {
275 # hardware ethernet 00:E0:06:E8:00:84; 280 # hardware ethernet 00:E0:06:E8:00:84;
276 # fixed-address 192.168.0.1; 281 # fixed-address 192.168.0.1;
277 #} 282 #}
341Now you have to change your displaymanager's configuration to 346Now you have to change your displaymanager's configuration to
342also accept remote connections. 347also accept remote connections.
343</p> 348</p>
344 349
345<p> 350<p>
346First change your <path>Xaccess</path> file, uncomment the following line: 351First change your <path>/etc/X11/xdm/Xaccess</path> file,
352uncomment the following line:
347</p> 353</p>
348 354
349<pre caption="Xaccess"> 355<pre caption="/etc/X11/xdm/Xaccess">
350#* #any host can get a login window 356#* #any host can get a login window
351</pre> 357</pre>
352 358
353<p> 359<p>
354Now change the configuration of the displaymanager you use: 360Now change the configuration of the displaymanager you use:
394<section> 400<section>
395<title>Creating a bootfloppy</title> 401<title>Creating a bootfloppy</title>
396<body> 402<body>
397 403
398<p> 404<p>
399If you workstations don't support PXE booting, you must create a 405If your workstations don't support PXE booting, you can create a boot-floppy
400boot-floppy, which is needed to start your workstations. Go to 406which is used to start your workstations and connect to the terminal server.
401<uri>http://www.rom-o-matic.net/5.0.9/</uri>, select your NIC, press 407Go to <uri>http://www.rom-o-matic.net</uri>, select the latest version, select
402<e>Get ROM</e> and write the image to a floppy: 408your NIC, press <e>Get ROM</e> and write the image to a floppy:
403</p> 409</p>
404 410
405<pre caption="Write floppy image"> 411<pre caption="Write floppy image">
406# <i>cat nicfile.lzdsk > /dev/fd0</i> 412# <i>cat nicfile.zdsk > /dev/fd0</i>
407</pre> 413</pre>
408 414
409</body> 415</body>
410</section> 416</section>
411</chapter> 417</chapter>

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20