Você está na página 1de 4

bash-3.

00# locale
LANG=

LC_CTYPE="C"

LC_NUMERIC="C"

LC_TIME="C"

LC_COLLATE="C"

LC_MONETARY="C"

LC_MESSAGES="C"

LC_ALL=

bash-3.00# locale -a
C

POSIX

iso_8859_1

bash-3.00# localeadm -C
Please select the option that was used to install Solaris

1. CD installation/net installed CD images

2. DVD installation/net installed combined image

Please enter your choice:2

------------------------------------------------------------------

DVD installation/net installed combined image option selected

------------------------------------------------------------------

Please enter path for install DVD/combined image:

/cdrom/cdrom0

Install image /cdrom/cdrom0 found ... searching

Finished searching install image /cdrom/cdrom0/Solaris_10/Product


Finished retrieving locale data

-----------------------------------------------

Generating /usr/sadm/lib/localeadm/Locale_config_S10.txt config file...

-----------------------------------------------

-----------------------------------------------

Finished Creating new file /usr/sadm/lib/localeadm/Locale_config_S10.txt

-----------------------------------------------

Original Config file can be found at /usr/sadm/lib/localeadm/Locale_config_S10.txt.old

New config file stored at /usr/sadm/lib/localeadm/Locale_config_S10.txt

bash#localeadm -a en_US.UTF-8 -d /cdrom/cdrom0

bash-3.00# locale -a
C

POSIX

en_CA

en_CA.ISO8859-1

en_CA.UTF-8

en_US

en_US.ISO8859-1

en_US.ISO8859-15

en_US.ISO8859-15@euro

en_US.UTF-8

es

es.UTF-8

es_MX
es_MX.ISO8859-1

es_MX.UTF-8

fr

fr.UTF-8

fr_CA

fr_CA.ISO8859-1

fr_CA.UTF-8

iso_8859_1

bash-3.00# vi /etc/default/init
# Copyright 1992, 1999-2002 Sun Microsystems, Inc. All rights reserved.

# Use is subject to license terms.

#ident "@(#)init.dfl 1.7 02/12/03 SMI"

# This file is /etc/default/init. /etc/TIMEZONE is a symlink to this file.

# This file looks like a shell script, but it is not. To maintain

# compatibility with old versions of /etc/TIMEZONE, some shell constructs

# (i.e., export commands) are allowed in this file, but are ignored.

# Lines of this file should be of the form VAR=value, where VAR is one of

# TZ, LANG, CMASK, or any of the LC_* environment variables. value may

# be enclosed in double quotes (") or single quotes (').

TZ=Asia/Calcutta
CMASK=022

LC_COLLATE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_MESSAGES= en_US.UTF-8

LC_MONETARY=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8

Você também pode gostar