Thanks to my colleague Alex for your advice.
1./etc/APT/sources. List
------------------ Add ---------------------
Deb http://debian.cn99.com/debian/ Testing main contrib non-free
Deb-Src http://debian.cn99.com/debian/ Testing main contrib non-free
Deb http://debian.cn99.com/debian/ Sid main contrib non-free
Deb-Src http://debian.cn99.com/debian/ Sid main contrib non-free
--------------------------------------------
This is required for apt-Get update, Apt-Get dist-upgrade, and apt-Get install XXXX.
2. dpkp-reconfigure locales setting locale
Otherwise, the Chinese characters cannot be displayed, and you are crying ~~
3./etc/X11/xsession. d/25xchinput-start
------------------ Modify ---------------------
Export g_filename_encoding = @ gb2312
Export lang = zh_cn.gb2312
Export xmodifiers = @ im = fcitx
Fcitx
--------------------------------------------
You must not only display Chinese characters, but also enter Chinese characters.
PS: Don't forget to install fcitx
4./etc/environment
------------------ Modify ---------------------
Lang = zh_cn.gb2312
Export g_filename_encoding = @ gb2312
Export lc_all = zh_cn.gbk
Export g_broken_filenames = 1
--------------------------------------------
The general environment is also Chinese.
5 ,~ /. Bashrc
------------------ Add ---------------------
Export g_broken_filenames = 1
--------------------------------------------
I don't know why, but it must be consistent with the big environment.
6./etc/Vim/vimrc
------------------ Add ---------------------
Syntax on
--------------------------------------------
The green things in shell.
7./etc/ssh/sshd_config
------------------ Modify ---------------------
Passwordauthentication Yes
--------------------------------------------
You can log on to ssh.
8 ,~ /. Bashrc
------------------ modify -------------------
export ls_options = '-- color = auto'
eval "'dircolor'"
alias ls = 'ls $ ls_option'
alias LL = 'ls $ ls_options-l'
alias L = 'ls $ ls_options-la'
alias LA = 'ls $ ls_options-a'
------------------------------------------
ls is also color, in addition, there are more simple list writing methods.