Gentoo Archives: gentoo-doc-cvs

From: "Camille Huot (cam)" <cam@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/handbook: hb-install-config.xml hb-install-system.xml
Date: Sun, 08 Apr 2012 21:03:01
Message-Id: 20120408202055.380952004B@flycatcher.gentoo.org
1 cam 12/04/08 20:20:55
2
3 Modified: hb-install-config.xml hb-install-system.xml
4 Log:
5 #408073
6 - moving locale settings from Installing to Configure your System
7 - removing "optional"
8 - adding indications to set default system locale
9
10 Revision Changes Path
11 1.112 xml/htdocs/doc/en/handbook/hb-install-config.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.112&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.112&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?r1=1.111&r2=1.112
16
17 Index: hb-install-config.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v
20 retrieving revision 1.111
21 retrieving revision 1.112
22 diff -u -r1.111 -r1.112
23 --- hb-install-config.xml 6 Apr 2012 12:09:19 -0000 1.111
24 +++ hb-install-config.xml 8 Apr 2012 20:20:55 -0000 1.112
25 @@ -4,7 +4,7 @@
26 <!-- The content of this document is licensed under the CC-BY-SA license -->
27 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
28
29 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.111 2012/04/06 12:09:19 swift Exp $ -->
30 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.112 2012/04/08 20:20:55 cam Exp $ -->
31
32 <sections>
33
34 @@ -14,8 +14,8 @@
35 proceed.
36 </abstract>
37
38 -<version>18</version>
39 -<date>2012-04-06</date>
40 +<version>19</version>
41 +<date>2012-04-08</date>
42
43 <section>
44 <title>Filesystem Information</title>
45 @@ -502,6 +502,72 @@
46 <path>/etc/timezone</path> file.
47 </p>
48
49 +</body>
50 +</subsection>
51 +
52 +<subsection>
53 +<title>Configure locales</title>
54 +<body>
55 +
56 +<p>
57 +You will probably only use one or maybe two locales on your system. You have to
58 +specify locales you will need in <path>/etc/locale.gen</path>.
59 +</p>
60 +
61 +<pre caption="Opening /etc/locale.gen">
62 +# <i>nano -w /etc/locale.gen</i>
63 +</pre>
64 +
65 +<p>
66 +The following locales are an example to get both English (United States) and
67 +German (Germany) with the accompanying character formats (like UTF-8).
68 +</p>
69 +
70 +<pre caption="Specify your locales">
71 +en_US ISO-8859-1
72 +en_US.UTF-8 UTF-8
73 +de_DE ISO-8859-1
74 +de_DE@euro ISO-8859-15
75 +</pre>
76 +
77 +<note>
78 +You can select your desired locales in the list given by running <c>locale -a</c>.
79 +</note>
80 +
81 +<p>
82 +The next step is to run <c>locale-gen</c>. It will generates all the locales you
83 +have specified in the <path>/etc/locale.gen</path> file.
84 +</p>
85 +
86 +<pre caption="Running locale-gen">
87 +# <i>locale-gen</i>
88 +</pre>
89 +
90 +<p>
91 +Once done, you now have the possibility to set the system-wide locale settings
92 +in the <path>/etc/env.d/02locale</path> file:
93 +</p>
94 +
95 +<pre caption="Setting the default system locale in /etc/env.d/02locale">
96 +LANG="de_DE.UTF-8"
97 +LC_COLLATE="C"
98 +</pre>
99 +
100 +<p>
101 +And reload your environment:
102 +</p>
103 +
104 +<pre caption="Reload shell environment">
105 +# env-update &amp;&amp; source /etc/profile
106 +</pre>
107 +
108 +<p>
109 +We made a full <uri link="../guide-localization.xml#doc_chap3">Localization
110 +Guide</uri> to help you through this process. You can also read our detailed
111 +<uri link="../utf-8.xml#doc_chap2">UTF-8 Guide</uri> for very specific
112 +informations to enable UTF-8 on your system.
113 +</p>
114 +
115 <p test="not(func:keyval('arch')='PPC64')">
116 Please continue with <uri link="?part=1&amp;chap=9">Installing Necessary System
117 Tools</uri>.
118
119
120
121 1.121 xml/htdocs/doc/en/handbook/hb-install-system.xml
122
123 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.121&view=markup
124 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.121&content-type=text/plain
125 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?r1=1.120&r2=1.121
126
127 Index: hb-install-system.xml
128 ===================================================================
129 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v
130 retrieving revision 1.120
131 retrieving revision 1.121
132 diff -u -r1.120 -r1.121
133 --- hb-install-system.xml 22 Aug 2011 16:58:02 -0000 1.120
134 +++ hb-install-system.xml 8 Apr 2012 20:20:55 -0000 1.121
135 @@ -4,7 +4,7 @@
136 <!-- The content of this document is licensed under the CC-BY-SA license -->
137 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
138
139 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.120 2011/08/22 16:58:02 swift Exp $ -->
140 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.121 2012/04/08 20:20:55 cam Exp $ -->
141
142 <sections>
143
144 @@ -14,8 +14,8 @@
145 to progress to that state.
146 </abstract>
147
148 -<version>12</version>
149 -<date>2011-08-22</date>
150 +<version>13</version>
151 +<date>2012-04-08</date>
152
153 <section>
154 <title>Chrooting</title>
155 @@ -349,45 +349,5 @@
156
157 </body>
158 </subsection>
159 -<subsection>
160 -<title>Optional: glibc Locales</title>
161 -<body>
162 -
163 -<p>
164 -You will probably only use one or maybe two locales on your system. You can
165 -specify locales you will need in <path>/etc/locale.gen</path>.
166 -</p>
167 -
168 -<pre caption="Opening /etc/locale.gen">
169 -# <i>nano -w /etc/locale.gen</i>
170 -</pre>
171 -
172 -<p>
173 -The following locales are an example to get both English (United States) and
174 -German (Germany) with the accompanying character formats (like UTF-8).
175 -</p>
176 -
177 -<pre caption="Specify your locales">
178 -en_US ISO-8859-1
179 -en_US.UTF-8 UTF-8
180 -de_DE ISO-8859-1
181 -de_DE@euro ISO-8859-15
182 -</pre>
183 -
184 -<p>
185 -The next step is to run <c>locale-gen</c>. It will generate all the locales you
186 -have specified in the <path>/etc/locale.gen</path> file.
187 -</p>
188 -
189 -<pre caption="Running locale-gen">
190 -# <i>locale-gen</i>
191 -</pre>
192 -
193 -<p>
194 -Now continue with <uri link="?part=1&amp;chap=7">Configuring the Kernel</uri>.
195 -</p>
196 -
197 -</body>
198 -</subsection>
199 </section>
200 </sections>