1. UTF-8 서버 설정
출처 : http://www.cyworld.com/gon0121/2698385
1) /etc/environment
LANG="ko_KR.UTF-8"
LANGUAGE="ko_KR:ko:en_GB:en"
PATH 앞에 추가
2) /etc/default/locale
LANGUAGE="ko_KR.UTF-8"
LANG_ALL="ko_KR.UTF-8"
LANG="ko_KR.UTF-8" 뒤에 추가
2. euc_kr Locale 추가
출처 : http://leoric99.tistory.com/entry/Ubuntueuckr-%EB%A1%9C%EC%BC%80%EC%9D%BC-%EC%B6%94%EA%B0%80
1) sudo locale-gen ko_KR.EUC-KR
2) /etc/environment에 바로 추가하는 방법
PATH="/usr/local/sbin;/usr/local/bin;/usr/bin;/....."
LANG="ko_KR.UTF-8"
LANGUAGE="ko_KR:ko:en_GB:en"
이런것에 아래 한줄 추가
PATH="/usr/local/sbin;/usr/local/bin;/usr/bin;/....."
LANG="ko_KR.UTF-8"
LANG="ko_KR.EUC-KR"
LANGUAGE="ko_KR:ko:en_GB:en"
3. Locale 확인하기
root@buy-0431:~# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=ko_KR.eucKR
LANGUAGE=ko_KR.UTF-8
LC_CTYPE="ko_KR.eucKR"
LC_NUMERIC="ko_KR.eucKR"
LC_TIME="ko_KR.eucKR"
LC_COLLATE="ko_KR.eucKR"
LC_MONETARY="ko_KR.eucKR"
LC_MESSAGES="ko_KR.eucKR"
LC_PAPER="ko_KR.eucKR"
LC_NAME="ko_KR.eucKR"
LC_ADDRESS="ko_KR.eucKR"
LC_TELEPHONE="ko_KR.eucKR"
LC_MEASUREMENT="ko_KR.eucKR"
LC_IDENTIFICATION="ko_KR.eucKR"
LC_ALL=
root@buy-0431:~#
'OS > LINUX' 카테고리의 다른 글
Ethernet Bandwidth Limit 걸기 (속도 제한/QOS) (0) | 2013.01.02 |
---|---|
Traffic Control with Linux Command Line tool, "tc" (0) | 2013.01.02 |
apt & dpkg 사용법 (0) | 2012.07.10 |
vmstat 과 sar 명령 (0) | 2012.06.01 |
iostat (0) | 2012.06.01 |