/[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.88 Revision 1.89
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
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.88 2006/11/28 07:40:38 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.89 2007/03/12 08:12:38 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12You need to edit some important configuration files. In this chapter 12You need to edit some important configuration files. In this chapter
13you receive an overview of these files and an explanation on how to 13you receive an overview of these files and an explanation on how to
14proceed. 14proceed.
15</abstract> 15</abstract>
16 16
17<version>7.6</version> 17<version>7.7</version>
18<date>2006-11-27</date> 18<date>2007-03-11</date>
19 19
20<section> 20<section>
21<title>Filesystem Information</title> 21<title>Filesystem Information</title>
22<subsection> 22<subsection>
23<title>What is fstab?</title> 23<title>What is fstab?</title>
24<body> 24<body>
25 25
26<p> 26<p>
27Under Linux, all partitions used by the system must be listed in 27Under Linux, all partitions used by the system must be listed in
28<path>/etc/fstab</path>. This file contains the mount points of those partitions 28<path>/etc/fstab</path>. This file contains the mount points of those partitions
29(where they are seen in the file system structure), how they should be mounted 29(where they are seen in the file system structure), how they should be mounted
30and with what special options (automatically or not, whether users can mount 30and with what special options (automatically or not, whether users can mount
31them or not, etc.) 31them or not, etc.)
32</p> 32</p>
33 33
235One 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
236quite 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
237appropriate name for their Linux-pc. To speed things up, know that any name you 237appropriate name for their Linux-pc. To speed things up, know that any name you
238choose can be changed afterwards. For all we care, you can just call your system 238choose can be changed afterwards. For all we care, you can just call your system
239<c>tux</c> and domain <c>homenetwork</c>. 239<c>tux</c> and domain <c>homenetwork</c>.
240</p> 240</p>
241 241
242<pre caption="Setting the host name"> 242<pre caption="Setting the host name">
243# <i>nano -w /etc/conf.d/hostname</i> 243# <i>nano -w /etc/conf.d/hostname</i>
244 244
245<comment>(Set the HOSTNAME variable to your host name)</comment> 245<comment>(Set the HOSTNAME variable to your host name)</comment>
246HOSTNAME="<i>tux</i>" 246HOSTNAME="<i>tux</i>"
247</pre> 247</pre>
248 248
249<p> 249<p>
250Second we set the domainname in <path>/etc/conf.d/net</path>: 250Second, <e>if</e> you need a domainname, set it in <path>/etc/conf.d/net</path>.
251You only need a domain if your ISP or network administrator says so, or if you
252have a DNS server but not a DHCP server. You don't need to worry about DNS or
253domainnames if your networking is setup for DHCP.
251</p> 254</p>
252 255
253<pre caption="Setting the domainname"> 256<pre caption="Setting the domainname">
254# <i>nano -w /etc/conf.d/net</i> 257# <i>nano -w /etc/conf.d/net</i>
255 258
256<comment>(Set the dns_domain variable to your domain name)</comment> 259<comment>(Set the dns_domain variable to your domain name)</comment>
257dns_domain_lo="<i>homenetwork</i>" 260dns_domain_lo="<i>homenetwork</i>"
258</pre> 261</pre>
262
263<note>
264If you choose not to set a domainname, you can get rid of the "This is
265hostname.(none)" messages at your login screen by editing
266<path>/etc/issue</path>. Just delete the string <c>.\O</c> from that file.
267</note>
259 268
260<p> 269<p>
261If you have a NIS domain (if you don't know what that is, then you don't have 270If 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: 271one), you need to define that one too:
263</p> 272</p>
264 273
265<pre caption="Setting the NIS domainname"> 274<pre caption="Setting the NIS domainname">
266# <i>nano -w /etc/conf.d/net</i> 275# <i>nano -w /etc/conf.d/net</i>
267 276
268<comment>(Set the nis_domain variable to your NIS domain name)</comment> 277<comment>(Set the nis_domain variable to your NIS domain name)</comment>
269nis_domain_lo="<i>my-nisdomain</i>" 278nis_domain_lo="<i>my-nisdomain</i>"
270</pre> 279</pre>
271 280
272<note> 281<note>
273For more information on configuring DNS and NIS, please read the examples 282For more information on configuring DNS and NIS, please read the examples

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

  ViewVC Help
Powered by ViewVC 1.1.20