最小安装Debian lenny
安装的时候选择中文
。。。(安装过程省略)
再安装个SSH,登陆进去中文显示乱码。
增加一些locale
# dpkg-reconfigure locales
我只选择了en_US.UTF-8 、zh_CN.GB2312
默认选择 zh_CN.GB2312 (如果默认选项没有就选zh_CN)
切换到普通用户默认登录目录
在.bashrc最后增加:
export LC_ALL=zh_CN.GB2312
重启,嗯哈,中文显示正常了:
Linux debian 2.6.26-2-686 #1 SMP Sat Dec 26 09:01:51 UTC 2009 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Apr 1 13:27:11 2010 from 192.168.0.10
amsir@debian:~$ su
密码:
debian:/home/amsir#
阅读(6486) | 评论(0) | 转发(0) |