一、CentOS7.0 
1、修改为中文

# localectl  set-locale LANG=zh_CN.utf8

2、修改为英文

# localectl  set-locale LANG=en_US.UTF-8

二、CentOS6.5

1、修改为英文

# echo 'LANG=en_US.UTF-8' >>/etc/profile
# source /etc/profile
# su -l

2、修改为中文

# echo 'LANG=zh_CN.utf8' >>/etc/profile
# source /etc/profile
# su -l
 
localectl 这个命令的作用?
source 这个命令的作用?
 

相关文章:

  • 2021-12-29
  • 2022-02-06
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2021-11-27
猜你喜欢
  • 2021-08-11
  • 2021-09-25
  • 2021-12-17
  • 2021-09-16
相关资源
相似解决方案