先切换到root用户,输入su root命令 然后输入sudo dpkg-reconfigure locales,然后回车弹出的页面找到zh.CN.utf-8 utf-8按空格键选中zh-cn 然后重启就可以了