centos6.5和Centos8修改默认语言为中文

CentOS8修改中文

  1、vi /etc/locale.conf,

  2、中文:LANG="zh_CN.UTF-8"    英文:LANG="en_US.UTF-8"

CentOS6.5

  1、vi /etc/sysconfig/i18n

  2、LANG=”zh_CN.UTF-8”     SYSFONT=”latarcyrheb-sun16”

  3、执行source /etc/sysconfig/i18n 来生效

原文地址:https://www.cnblogs.com/guodanzhen/p/13680486.html