配置
保存:
[root@Tony_ts_tian sysconfig]# pwd
/etc/sysconfig
[root@Tony_ts_tian sysconfig]# cat i18n
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
执行:
export LC_ALL="zh_CN.utf8"
结果:
[root@179-191 ECMCMServer_V1.0.0.1]# locale
LANG=en_US.UTF-8
LC_CTYPE="zh_CN.utf8"
LC_NUMERIC="zh_CN.utf8"
LC_TIME="zh_CN.utf8"
LC_COLLATE="zh_CN.utf8"
LC_MONETARY="zh_CN.utf8"
LC_MESSAGES="zh_CN.utf8"
LC_PAPER="zh_CN.utf8"
LC_NAME="zh_CN.utf8"
LC_ADDRESS="zh_CN.utf8"
LC_TELEPHONE="zh_CN.utf8"
LC_MEASUREMENT="zh_CN.utf8"
LC_IDENTIFICATION="zh_CN.utf8"
LC_ALL=zh_CN.utf8
说明
本文只做学习参考,如有任何不准确的地方欢迎指正。
我的邮箱:
lulongji2011@163.com