/[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.3 Revision 1.11
1<!-- The content of this document is licensed under the CC-BY-SA license -->
2<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
3
4<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.11 2003/11/24 05:23:11 swift Exp $ -->
5
1<sections> 6<sections>
2<section> 7<section>
3<title>Timezone</title> 8<title>Timezone</title>
4<body> 9<body>
5 10
9symlink to <path>/etc/localtime</path> using <c>ln</c>: 14symlink to <path>/etc/localtime</path> using <c>ln</c>:
10</p> 15</p>
11 16
12<pre caption="Setting the timezone information"> 17<pre caption="Setting the timezone information">
13# <i>ls /usr/share/zoneinfo</i> 18# <i>ls /usr/share/zoneinfo</i>
14<comment>(Suppose you want to use GTM:)</comment> 19<comment>(Suppose you want to use GMT:)</comment>
15# <i>ln -s /usr/share/zoneinfo/GMT /etc/localtime</i> 20# <i>ln -sf /usr/share/zoneinfo/GMT /etc/localtime</i>
16</pre> 21</pre>
17 22
18</body> 23</body>
19</section> 24</section>
20<section> 25<section>
37<title>Creating /etc/fstab</title> 42<title>Creating /etc/fstab</title>
38<body> 43<body>
39 44
40<p> 45<p>
41<path>/etc/fstab</path> uses a special syntaxis. Every line consists of six 46<path>/etc/fstab</path> uses a special syntaxis. Every line consists of six
42fields, seperated by whitespace (space(s), tabs or a mixture). Each field has 47fields, separated by whitespace (space(s), tabs or a mixture). Each field has
43its own meaning: 48its own meaning:
44</p> 49</p>
45 50
46<ul> 51<ul>
47<li> 52<li>
57</li> 62</li>
58<li> 63<li>
59 The fourth field shows the <b>mountoptions</b> used by <c>mount</c> when it 64 The fourth field shows the <b>mountoptions</b> used by <c>mount</c> when it
60 wants to mount the partition. As every filesystem has its own mountoptions, 65 wants to mount the partition. As every filesystem has its own mountoptions,
61 you are encouraged to read the mount manpage (<c>man mount</c>) for a full 66 you are encouraged to read the mount manpage (<c>man mount</c>) for a full
62 listing. Multiple mountoptions are comma-seperated. 67 listing. Multiple mountoptions are comma-separated.
63</li> 68</li>
64<li> 69<li>
65 The fifth field is used by <c>dump</c> to determine if the partition needs to 70 The fifth field is used by <c>dump</c> to determine if the partition needs to
66 be <b>dump</b>ed or not. You can generally leave this as <c>0</c> (zero). 71 be <b>dump</b>ed or not. You can generally leave this as <c>0</c> (zero).
67</li> 72</li>
120/dev/hda3 / ext3 noatime 0 1 125/dev/hda3 / ext3 noatime 0 1
121</pre> 126</pre>
122 127
123<p> 128<p>
124To finish up, you should add a rule for <path>/proc</path>, <c>tmpfs</c> 129To finish up, you should add a rule for <path>/proc</path>, <c>tmpfs</c>
125(required) and for your CD-ROM drive (and ofcourse, if you have other 130(required) and for your CD-ROM drive (and of course, if you have other
126partitions or drives, for those too): 131partitions or drives, for those too):
127</p> 132</p>
128 133
129<pre caption="A full /etc/fstab example"> 134<pre caption="A full /etc/fstab example">
130/dev/hda1 /boot ext2 noauto,noatime 1 2 135/dev/hda1 /boot ext2 noauto,noatime 1 2
148SPARC-user, you should add the following line to your <path>/etc/fstab</path> 153SPARC-user, you should add the following line to your <path>/etc/fstab</path>
149too: 154too:
150</p> 155</p>
151 156
152<pre caption="Adding openprom filesystem to /etc/fstab"> 157<pre caption="Adding openprom filesystem to /etc/fstab">
153none /proc/openprom openpromfs defaults 0 0 158none /proc/openprom openpromfs defaults 0 0
159</pre>
160
161<p>
162If you need <c>usbfs</c>, add the following line to <path>/etc/fstab</path>:
163</p>
164
165<pre caption="Adding usbfs filesystem to /etc/fstab">
166none /proc/bus/usb usbfs defaults 0 0
154</pre> 167</pre>
155 168
156<p> 169<p>
157Reread your <path>/etc/fstab</path>, save and quit to continue. 170Reread your <path>/etc/fstab</path>, save and quit to continue.
158</p> 171</p>
315<pre caption="Opening /etc/hosts"> 328<pre caption="Opening /etc/hosts">
316# <i>nano -w /etc/hosts</i> 329# <i>nano -w /etc/hosts</i>
317</pre> 330</pre>
318 331
319<pre caption="Filling in the networking information"> 332<pre caption="Filling in the networking information">
320127.0.0.1 localhost tux 333127.0.0.1 tux.homenetwork localhost
321192.168.0.5 jenny 334192.168.0.5 jenny
322192.168.0.56 benny 335192.168.0.56 benny
323</pre> 336</pre>
324 337
325<p> 338<p>
350<p> 363<p>
351PCMCIA-users should first install the <c>pcmcia-cs</c> package: 364PCMCIA-users should first install the <c>pcmcia-cs</c> package:
352</p> 365</p>
353 366
354<pre caption="Installing pcmcia-cs"> 367<pre caption="Installing pcmcia-cs">
355# <i>emerge -k pcmcia-cs</i> 368# <i>emerge --usepkg pcmcia-cs</i>
356</pre> 369</pre>
357 370
358<p> 371<p>
359When <c>pcmcia-cs</c> is installed, add <c>pcmcia</c> to the <e>boot</e> 372When <c>pcmcia-cs</c> is installed, add <c>pcmcia</c> to the <e>boot</e>
360runlevel: 373runlevel:

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20