/[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.86
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.86 2006/10/28 09:17:54 neysx Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract>
12You need to edit some important configuration files. In this chapter
13you receive an overview of these files and an explanation on how to
14proceed.
15</abstract>
16
11<version>7.0</version> 17<version>7.4</version>
12<date>2006-08-30</date> 18<date>2006-10-20</date>
13 19
14<section> 20<section>
15<title>Filesystem Information</title> 21<title>Filesystem Information</title>
16<subsection> 22<subsection>
17<title>What is fstab?</title> 23<title>What is fstab?</title>
220</subsection> 226</subsection>
221</section> 227</section>
222<section> 228<section>
223<title>Networking Information</title> 229<title>Networking Information</title>
224<subsection> 230<subsection>
225<title>Host name</title> 231<title>Host name, Domainname, etc</title>
226<body> 232<body>
227 233
228<p> 234<p>
229One of the choices the user has to make is name his/her PC. This seems to be 235One 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 236quite easy, but <e>lots</e> of users are having difficulties finding the
238 244
239<comment>(Set the HOSTNAME variable to your host name)</comment> 245<comment>(Set the HOSTNAME variable to your host name)</comment>
240HOSTNAME="<i>tux</i>" 246HOSTNAME="<i>tux</i>"
241</pre> 247</pre>
242 248
249<p>
250Second we set the domainname in <path>/etc/conf.d/net</path>:
251</p>
252
253<pre caption="Setting the domainname">
254# <i>nano -w /etc/conf.d/net</i>
255
256<comment>(Set the dns_domain variable to your domain name)</comment>
257dns_domain_lo="<i>homenetwork</i>"
258</pre>
259
260<p>
261If you have a NIS domain (if you don't know what that is, then you don't have
262one), you need to define that one too:
263</p>
264
265<pre caption="Setting the NIS domainname">
266# <i>nano -w /etc/conf.d/net</i>
267
268<comment>(Set the nis_domain variable to your NIS domain name)</comment>
269nis_domain_lo="<i>my-nisdomain</i>"
270</pre>
271
272<note>
273For more information on configuring DNS and NIS, please read the examples
274provided in <path>/etc/conf.d/net.example</path>.
275</note>
276
243</body> 277</body>
244</subsection> 278</subsection>
245<subsection> 279<subsection>
246<title>Configuring your Network</title> 280<title>Configuring your Network</title>
247<body> 281<body>
266commented example that covers many different configurations is available in 300commented example that covers many different configurations is available in
267<path>/etc/conf.d/net.example</path>. 301<path>/etc/conf.d/net.example</path>.
268</p> 302</p>
269 303
270<p> 304<p>
271DHCP is used by default and does not require any further configuration. 305DHCP is used by default. For DHCP to work, you will need to install a DHCP
306client. This is described later in <uri
307link="?part=1&amp;chap=9#networking-tools">Installing Necessary System
308Tools</uri>. Do not forget to install a DHCP client.
272</p> 309</p>
273 310
274<p> 311<p>
275If you need to configure your network connection either because you need 312If you need to configure your network connection either because you need
276specific DHCP options or because you do not use DHCP at all, open 313specific DHCP options or because you do not use DHCP at all, open
509<pre caption="Opening /etc/conf.d/clock"> 546<pre caption="Opening /etc/conf.d/clock">
510# <i>nano -w /etc/conf.d/clock</i> 547# <i>nano -w /etc/conf.d/clock</i>
511</pre> 548</pre>
512 549
513<p> 550<p>
514If your hardware clock is not using UTC, you need to add <c>CLOCK="local"</c> to 551If 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 552to 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> 553</p>
519 554
520<p> 555<p>
521When you're finished configuring <path>/etc/conf.d/clock</path>, save and 556When you're finished configuring <path>/etc/conf.d/clock</path>, save and
522exit. 557exit.

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

  ViewVC Help
Powered by ViewVC 1.1.20