安装(一般都有,可以省略)
apt-get install locales
生成中文环境
locale-gen zh_CN.UTF-8
设置环境变量
vim ~/.profile
LANG=zh_CN.UTF-8
LC_ALL=zh_CN.UTF-8source ~/.profile
eof
apt-get install locales
locale-gen zh_CN.UTF-8
vim ~/.profile
LANG=zh_CN.UTF-8
LC_ALL=zh_CN.UTF-8source ~/.profile
eof