본문 바로가기

Work/Solaris

Solaris 10 시스템 언어 변경

Solaris 시스템 언어 변경 방법 정리 

 

1. 현재 설정된 언어 확인

 

[ftp:/etc]cat /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=ROK
CMASK=022
LANG=ko

 

2. 사용 가능한 언어 확인

[ftp:/etc]ls -al /usr/lib/locale
total 96
drwxr-xr-x  11 root     bin          512 Aug  6  2013 .
drwxr-xr-x 135 root     bin        34304 Sep 20 01:10 ..
drwxr-xr-x   8 root     bin          512 Aug  6  2013 C
lrwxrwxrwx   1 root     root           3 Aug  6  2013 POSIX -> ./C
drwxr-xr-x   5 root     bin          512 Aug  6  2013 common
-rw-r--r--   1 root     bin          295 Mar  3  2010 geo
drwxr-xr-x   4 root     bin          512 Aug  6  2013 iso_8859_1
drwxr-xr-x   9 root     bin          512 Aug  6  2013 ko
drwxr-xr-x   7 root     bin          512 Aug  6  2013 ko.UTF-8
drwxr-xr-x   3 root     bin          512 Aug  6  2013 ko_KR.EUC
drwxr-xr-x   3 root     bin          512 Aug  6  2013 ko_KR.EUC@dict
drwxr-xr-x   4 root     bin          512 Aug  6  2013 ko_KR.UTF-8
drwxr-xr-x   3 root     bin          512 Aug  6  2013 ko_KR.UTF-8@dict
-rw-r--r--   1 root     bin         1848 Dec  9  2004 lcttab


3. 언어 변경

vi /etc/default/login

[ftp:/etc]cat /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=ROK
CMASK=022
LANG=ko   <-- 원하는 시스템 언어로 변경

 

재부팅이 필요


'Work > Solaris' 카테고리의 다른 글

solaris stmsboot ( mpxio )  (0) 2014.11.11
telnet 접속 시도 횟수 설정 ( 계정 잠금 X )  (0) 2014.10.14
로그 파일 모니터링 걸기  (0) 2014.10.03
Solaris ldom 남은 자원 확인  (0) 2014.08.28
ntp 확인  (0) 2014.08.13