/[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.114
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.114 2012/04/09 10:03:26 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>18</version> 17<version>20</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<warn>
538We strongly suggest that you should use at least one UTF-8 locale because some
539applications may require it.
540</warn>
541
542<p>
543The next step is to run <c>locale-gen</c>. It will generates all the locales you
544have specified in the <path>/etc/locale.gen</path> file.
545</p>
546
547<pre caption="Running locale-gen">
548# <i>locale-gen</i>
549</pre>
550
551<p>
552Once done, you now have the possibility to set the system-wide locale settings
553in the <path>/etc/env.d/02locale</path> file:
554</p>
555
556<pre caption="Setting the default system locale in /etc/env.d/02locale">
557LANG="de_DE.UTF-8"
558LC_COLLATE="C"
559</pre>
560
561<p>
562And reload your environment:
563</p>
564
565<pre caption="Reload shell environment">
566# env-update &amp;&amp; source /etc/profile
567</pre>
568
569<p>
570We made a full <uri link="../guide-localization.xml#doc_chap3">Localization
571Guide</uri> to help you through this process. You can also read our detailed
572<uri link="../utf-8.xml#doc_chap2">UTF-8 Guide</uri> for very specific
573informations to enable UTF-8 on your system.
574</p>
575
505<p test="not(func:keyval('arch')='PPC64')"> 576<p test="not(func:keyval('arch')='PPC64')">
506Please continue with <uri link="?part=1&amp;chap=9">Installing Necessary System 577Please continue with <uri link="?part=1&amp;chap=9">Installing Necessary System
507Tools</uri>. 578Tools</uri>.
508</p> 579</p>
509 580

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

  ViewVC Help
Powered by ViewVC 1.1.20