centos 7 :中文乱码的解决

参考:

http://www.centoscn.com/CentosBug/osbug/2015/0313/4873.html

https://blog.csdn.net/sp308036654/article/details/44595671

1  :安装中文字体

yum groupinstall "fonts"

2: vi  /etc/locale.conf

将内容改为:

LANG="zh_CN“

保存后退出

3 :重启服务器

如果使用SecureCRT 登录服务器还请将Options/Session Options/Apperance/Character encoding 设置为 defaults即可。

猜你喜欢

转载自blog.csdn.net/u010190415/article/details/82811059