Debian installation memo

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.