/[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.111 Revision 1.112
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.111 2012/04/06 12:09:19 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.112 2012/04/08 20:20:55 cam 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>18</version> 17<version>19</version>
18<date>2012-04-06</date> 18<date>2012-04-08</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>
500<path>/etc/localtime</path> automatically. For instance, if you used the 500<path>/etc/localtime</path> automatically. For instance, if you used the
501Europe/Brussels timezone, you would write <c>Europe/Brussels</c> in the 501Europe/Brussels timezone, you would write <c>Europe/Brussels</c> in the
502<path>/etc/timezone</path> file. 502<path>/etc/timezone</path> file.
503</p> 503</p>
504 504
505</body>
506</subsection>
507
508<subsection>
509<title>Configure locales</title>
510<body>
511
512<p>
513You will probably only use one or maybe two locales on your system. You have to
514specify locales you will need in <path>/etc/locale.gen</path>.
515</p>
516
517<pre caption="Opening /etc/locale.gen">
518# <i>nano -w /etc/locale.gen</i>
519</pre>
520
521<p>
522The following locales are an example to get both English (United States) and
523German (Germany) with the accompanying character formats (like UTF-8).
524</p>
525
526<pre caption="Specify your locales">
527en_US ISO-8859-1
528en_US.UTF-8 UTF-8
529de_DE ISO-8859-1
530de_DE@euro ISO-8859-15
531</pre>
532
533<note>
534You can select your desired locales in the list given by running <c>locale -a</c>.
535</note>
536
537<p>
538The next step is to run <c>locale-gen</c>. It will generates all the locales you
539have specified in the <path>/etc/locale.gen</path> file.
540</p>
541
542<pre caption="Running locale-gen">
543# <i>locale-gen</i>
544</pre>
545
546<p>
547Once done, you now have the possibility to set the system-wide locale settings
548in the <path>/etc/env.d/02locale</path> file:
549</p>
550
551<pre caption="Setting the default system locale in /etc/env.d/02locale">
552LANG="de_DE.UTF-8"
553LC_COLLATE="C"
554</pre>
555
556<p>
557And reload your environment:
558</p>
559
560<pre caption="Reload shell environment">
561# env-update &amp;&amp; source /etc/profile
562</pre>
563
564<p>
565We made a full <uri link="../guide-localization.xml#doc_chap3">Localization
566Guide</uri> to help you through this process. You can also read our detailed
567<uri link="../utf-8.xml#doc_chap2">UTF-8 Guide</uri> for very specific
568informations to enable UTF-8 on your system.
569</p>
570
505<p test="not(func:keyval('arch')='PPC64')"> 571<p test="not(func:keyval('arch')='PPC64')">
506Please continue with <uri link="?part=1&amp;chap=9">Installing Necessary System 572Please continue with <uri link="?part=1&amp;chap=9">Installing Necessary System
507Tools</uri>. 573Tools</uri>.
508</p> 574</p>
509 575

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112

  ViewVC Help
Powered by ViewVC 1.1.20