/[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.122 Revision 1.125
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.122 2013/07/24 20:40:40 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.125 2013/12/17 10:01:35 swift 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>28</version> 17<version>31</version>
18<date>2013-07-24</date> 18<date>2013-12-17</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>
79</impo> 79</impo>
80 80
81<pre caption="Opening /etc/fstab"> 81<pre caption="Opening /etc/fstab">
82# <i>nano -w /etc/fstab</i> 82# <i>nano -w /etc/fstab</i>
83</pre> 83</pre>
84
85<p>
86In the remainder of the text, we use the default <path>/dev/sd*</path> block
87device files as partition. You can also opt to use the symbolic links in the
88<path>/dev/disk/byid</path> or <path>/dev/disk/by-uuid</path>. These names are
89not likely to change, whereas the default block device files naming depends on
90a number of factors (such as how and in what order the disks are attached to
91your system). However, if you do not intend to fiddle with the disk ordering,
92you can continue with the default block device files safely.
93</p>
84 94
85</body> 95</body>
86<body test="func:keyval('/boot')"> 96<body test="func:keyval('/boot')">
87 97
88<p> 98<p>
165</p> 175</p>
166 176
167<p> 177<p>
168To improve performance, most users would want to add the <c>noatime</c> 178To improve performance, most users would want to add the <c>noatime</c>
169mount option, which results in a faster system since access times 179mount option, which results in a faster system since access times
170aren't registered (you don't need those generally anyway). 180aren't registered (you don't need those generally anyway). This is also
181recommended for solid state drive (SSD) users, who should also enable
182the <c>discard</c> mount option (ext4 and btrfs only for now) which
183makes the TRIM command work.
171</p> 184</p>
172 185
173<p> 186<p>
174Double-check your <path>/etc/fstab</path>, save and quit to continue. 187Double-check your <path>/etc/fstab</path>, save and quit to continue.
175</p> 188</p>
557<pre caption="Running locale-gen"> 570<pre caption="Running locale-gen">
558# <i>locale-gen</i> 571# <i>locale-gen</i>
559</pre> 572</pre>
560 573
561<p> 574<p>
575You can verify that your selected locales are available by running <c>locale -a</c>.
576</p>
577
578<p>
562Once done, you now have the possibility to set the system-wide locale settings 579Once done, you now have the possibility to set the system-wide locale settings.
580With <c>eselect locale list</c>, the available targets are displayed:
581</p>
582
583<pre caption="Displaying the available LANG settings">
584# <i>eselect locale list</i>
585Available targets for the LANG variable:
586 [1] C
587 [2] POSIX
588 [3] en_US
589 [4] en_US.iso88591
590 [5] en_US.utf8
591 [6] de_DE
592 [7] de_DE.iso88591
593 [8] de_DE.iso885915
594 [9] de_DE.utf8
595 [ ] (free form)
596</pre>
597
598<p>
599With <c>eselect locale set &lt;value&gt;</c> the correct locale can be set:
600</p>
601
602<pre caption="Setting the LANG variable">
603# <i>eselect locale set 9</i>
604</pre>
605
606<p>
607Manually, this can still be accomplished through the
563in the <path>/etc/env.d/02locale</path> file: 608<path>/etc/env.d/02locale</path> file:
564</p> 609</p>
565 610
566<pre caption="Setting the default system locale in /etc/env.d/02locale"> 611<pre caption="Setting the default system locale in /etc/env.d/02locale">
567LANG="de_DE.UTF-8" 612LANG="de_DE.UTF-8"
568LC_COLLATE="C" 613LC_COLLATE="C"
569</pre> 614</pre>
570 615
571<p> 616<p>
572And reload your environment: 617Don't forget to reload your environment:
573</p> 618</p>
574 619
575<pre caption="Reload shell environment"> 620<pre caption="Reload shell environment">
576# env-update &amp;&amp; source /etc/profile 621# <i>env-update &amp;&amp; source /etc/profile</i>
577</pre> 622</pre>
578 623
579<p> 624<p>
580We made a full <uri link="https://wiki.gentoo.org/wiki/Localization/HOWTO">Localization 625We made a full <uri link="https://wiki.gentoo.org/wiki/Localization/HOWTO">Localization
581Guide</uri> to help you through this process. You can also read the detailed 626Guide</uri> to help you through this process. You can also read the detailed

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.125

  ViewVC Help
Powered by ViewVC 1.1.20