Centos7中英文切换方法

2024-10-13 20:57:24

1、locale命令查看系统字符集

Centos7中英文切换方法

3、切换之前先备份配置文件cp /etc/locale.conf /etc/locale.conf_bak

Centos7中英文切换方法

5、重启操作系统reboot

Centos7中英文切换方法

7、中文切换到英文字符集echo "LANG=en_US.utf8" >挢旗扦渌; /etc/locale.conf

Centos7中英文切换方法

9、重启完成继续验证,字符集从中文变回了英文

Centos7中英文切换方法
猜你喜欢