4、设置为中文
这里当时没注意给百度教程坑了,中文设置错了
设置后查看安装的语言包
提示报错
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
下面顺便提供下解决过程:
使用locale -a命令查看了系统安装的字符编码: