- Timestamp:
- 07/22/2006 02:49:02 AM (18 years ago)
- Branches:
- 6.2
- Children:
- 30bdd9c4
- Parents:
- 7fc8f55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc.xml
r7fc8f55 r5c2ef89 255 255 EOF</userinput></screen> 256 256 257 <para>To determine the local time zone, run the following script:</para> 257 <para>One way to determine the local time zone, run the following 258 script:</para> 258 259 259 260 <screen role="nodump"><userinput>tzselect</userinput></screen> 260 261 261 262 <para>After answering a few questions about the location, the script will 262 output the name of the time zone (e.g., <emphasis>EST5EDT</emphasis> or 263 <emphasis>Canada/Eastern</emphasis>). Then create the 264 <filename>/etc/localtime</filename> file by running:</para> 263 output the name of the time zone (e.g., 264 <emphasis>America/Edmonton</emphasis>). There are also some other possible 265 timezones listed in <filename 266 class='directory'>/usr/share/zoneinfo</filename> such as 267 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that 268 are not identified by the script but can be used.</para> 269 270 <para>Then create the <filename>/etc/localtime</filename> file by 271 running:</para> 265 272 266 273 <screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable><xxx></replaceable> \ 267 274 /etc/localtime</userinput></screen> 268 275 269 <para>Replace <replaceable><xxx></replaceable> with the name of the time zone270 t hat <command>tzselect</command> provided (e.g., Canada/Eastern).</para>276 <para>Replace <replaceable><xxx></replaceable> with the name of the 277 time zone selected (e.g., Canada/Eastern).</para> 271 278 272 279 <variablelist>
Note:
See TracChangeset
for help on using the changeset viewer.