使用locale命令查看当前语环境,然后修改/etc/sysconfig/i18n文件。
例如:如果locale输出:
[root@amproxy apache2]# locale LANG = zh_CN.GBK LC_CTYPE = " zh_CN.GBK " LC_NUMERIC = " zh_CN.GBK " LC_TIME = " zh_CN.GBK " LC_COLLATE = " zh_CN.GBK " LC_MONETARY = " zh_CN.GBK " LC_MESSAGES = " zh_CN.GBK " LC_PAPER = " zh_CN.GBK " LC_NAME = " zh_CN.GBK " LC_ADDRESS = " zh_CN.GBK " LC_TELEPHONE = " zh_CN.GBK " LC_MEASUREMENT = " zh_CN.GBK " LC_IDENTIFICATION = " zh_CN.GBK " LC_ALL =
则i18n文件可修改为:
LANG= " zh_CN.GBK " SYSFONT = " latarcyrheb-sun16 "