1、先看现有的设置

root@kali:~# locale
LANG=zh_CN.UTF-8
LANGUAGE=
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=

2.1、修改,debain版,修改/etc/default/locale

#  File generated by update-locale
LANG=zh_CN.UTF-8

2.2、修改,红帽系,修改/etc/sysconfig/i18n

LANG="en_US.UTF-8"

 

By charlie

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注