在 ssh , telnet 终端中文显示乱码解决办法
#vim /etc/sysconfig/i18n
将原内容:
LANG="en_US·UTF-8"
SYSFONT="latarcyrheb-sun16"
修改为:
LANG="zh_CN·GB18030" LANGUAGE="zh_CN·GB18030:zh_CN·GB2312:zh_CN" SUPPORTED="zh_CN·UTF-8:zh_CN:zh:en_US·UTF-8:en_US:en" SYSFONT="lat0-sun16"
用 yum 安装中文字体
# yum install fonts-chinese.noarch
断开 ssh ,重新连
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.