/[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.103 Revision 1.104
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.103 2011/08/02 17:43:17 jkt Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.104 2011/08/03 08:17:07 jkt 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>10</version> 17<version>11</version>
18<date>2011-08-02</date> 18<date>2011-08-03</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>
204</p> 204</p>
205 205
206<pre caption="Setting the host name"> 206<pre caption="Setting the host name">
207# <i>nano -w /etc/conf.d/hostname</i> 207# <i>nano -w /etc/conf.d/hostname</i>
208 208
209<comment>(Set the HOSTNAME variable to your host name)</comment> 209<comment>(Set the hostname variable to your host name)</comment>
210HOSTNAME="<i>tux</i>" 210hostname="<i>tux</i>"
211</pre> 211</pre>
212 212
213<p> 213<p>
214Second, <e>if</e> you need a domainname, set it in <path>/etc/conf.d/net</path>. 214Second, <e>if</e> you need a domainname, set it in <path>/etc/conf.d/net</path>.
215You only need a domain if your ISP or network administrator says so, or if you 215You only need a domain if your ISP or network administrator says so, or if you
308To enter your own IP address, netmask and gateway, you need 308To enter your own IP address, netmask and gateway, you need
309to set both <c>config_eth0</c> and <c>routes_eth0</c>: 309to set both <c>config_eth0</c> and <c>routes_eth0</c>:
310</p> 310</p>
311 311
312<pre caption="Manually setting IP information for eth0"> 312<pre caption="Manually setting IP information for eth0">
313config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255" ) 313config_eth0="192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255"
314routes_eth0=( "default via 192.168.0.1" ) 314routes_eth0="default via 192.168.0.1"
315</pre> 315</pre>
316 316
317<p> 317<p>
318To use DHCP, define <c>config_eth0</c>: 318To use DHCP, define <c>config_eth0</c>:
319</p> 319</p>
320 320
321<pre caption="Automatically obtaining an IP address for eth0"> 321<pre caption="Automatically obtaining an IP address for eth0">
322config_eth0=( "dhcp" ) 322config_eth0="dhcp"
323</pre> 323</pre>
324 324
325<p> 325<p>
326Please read <path>/etc/conf.d/net.example</path> for a list of all available 326Please read <path>/etc/conf.d/net.example</path> for a list of all available
327options. Be sure to also read your DHCP client manpage if you need to set 327options. Be sure to also read your DHCP client manpage if you need to set

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104

  ViewVC Help
Powered by ViewVC 1.1.20