/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-config.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-config.xml

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

Revision 1.81 Revision 1.85
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.81 2006/08/30 22:52:28 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.85 2006/10/21 01:13:51 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>7.0</version> 11<version>7.4</version>
12<date>2006-08-30</date> 12<date>2006-10-20</date>
13 13
14<section> 14<section>
15<title>Filesystem Information</title> 15<title>Filesystem Information</title>
16<subsection> 16<subsection>
17<title>What is fstab?</title> 17<title>What is fstab?</title>
220</subsection> 220</subsection>
221</section> 221</section>
222<section> 222<section>
223<title>Networking Information</title> 223<title>Networking Information</title>
224<subsection> 224<subsection>
225<title>Host name</title> 225<title>Host name, Domainname, etc</title>
226<body> 226<body>
227 227
228<p> 228<p>
229One of the choices the user has to make is name his/her PC. This seems to be 229One of the choices the user has to make is name his/her PC. This seems to be
230quite easy, but <e>lots</e> of users are having difficulties finding the 230quite easy, but <e>lots</e> of users are having difficulties finding the
238 238
239<comment>(Set the HOSTNAME variable to your host name)</comment> 239<comment>(Set the HOSTNAME variable to your host name)</comment>
240HOSTNAME="<i>tux</i>" 240HOSTNAME="<i>tux</i>"
241</pre> 241</pre>
242 242
243<p>
244Second we set the domainname in <path>/etc/conf.d/net</path>:
245</p>
246
247<pre caption="Setting the domainname">
248# <i>nano -w /etc/conf.d/net</i>
249
250<comment>(Set the dns_domain variable to your domain name)</comment>
251dns_domain_lo="<i>homenetwork</i>"
252</pre>
253
254<p>
255If you have a NIS domain (if you don't know what that is, then you don't have
256one), you need to define that one too:
257</p>
258
259<pre caption="Setting the NIS domainname">
260# <i>nano -w /etc/conf.d/net</i>
261
262<comment>(Set the nis_domain variable to your NIS domain name)</comment>
263nis_domain_lo="<i>my-nisdomain</i>"
264</pre>
265
266<note>
267For more information on configuring DNS and NIS, please read the examples
268provided in <path>/etc/conf.d/net.example</path>.
269</note>
270
243</body> 271</body>
244</subsection> 272</subsection>
245<subsection> 273<subsection>
246<title>Configuring your Network</title> 274<title>Configuring your Network</title>
247<body> 275<body>
266commented example that covers many different configurations is available in 294commented example that covers many different configurations is available in
267<path>/etc/conf.d/net.example</path>. 295<path>/etc/conf.d/net.example</path>.
268</p> 296</p>
269 297
270<p> 298<p>
271DHCP is used by default and does not require any further configuration. 299DHCP is used by default. For DHCP to work, you will need to install a DHCP
300client. This is described later in <uri
301link="?part=1&amp;chap=9#networking-tools">Installing Necessary System
302Tools</uri>. Do not forget to install a DHCP client.
272</p> 303</p>
273 304
274<p> 305<p>
275If you need to configure your network connection either because you need 306If you need to configure your network connection either because you need
276specific DHCP options or because you do not use DHCP at all, open 307specific DHCP options or because you do not use DHCP at all, open
509<pre caption="Opening /etc/conf.d/clock"> 540<pre caption="Opening /etc/conf.d/clock">
510# <i>nano -w /etc/conf.d/clock</i> 541# <i>nano -w /etc/conf.d/clock</i>
511</pre> 542</pre>
512 543
513<p> 544<p>
514If your hardware clock is not using UTC, you need to add <c>CLOCK="local"</c> to 545If your hardware clock is not using UTC, you need to add <c>CLOCK="local"</c>
515the file. Otherwise you will notice some clock skew. Furthermore, Windows 546to the file. Otherwise you will notice some clock skew.
516assumes that your hardware clock uses local time, so if you want to dualboot,
517you should set this variable appropriately, otherwise your clock will go crazy.
518</p> 547</p>
519 548
520<p> 549<p>
521When you're finished configuring <path>/etc/conf.d/clock</path>, save and 550When you're finished configuring <path>/etc/conf.d/clock</path>, save and
522exit. 551exit.

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.85

  ViewVC Help
Powered by ViewVC 1.1.20