Root Account sudopasswdroot. bashrcaliascls = 'clearscreen' vimrc install vim and modify it. the content of the vimrc file is as follows: "The highlighted matching brackets setshowmatch" inherit the indent mode of the previous line, especially for multiline annotation setautoindent "provides automatic indent setsmartindent & n for the C program
Root Account
Sudo passwd root
. Bashrc
Alias cls = 'clearscreen'
Vimrc
After vim is installed, modify the. vimrc file as follows:
"Highlight matching brackets
Set showmatch
"Inherits the indentation of the previous line, especially for multiline comments.
Set autoindent
"Provides automatic indentation for C Programs
Set smartindent
"Use C-style indent
Set cindent
"Tab: 4
Set tabstop = 4
"Unified indent to 4
Set softtabstop = 4
Set shiftwidth = 4
"All tabs are converted to spaces.
Set expandtab
Let & termencoding = & encoding
Set fileencodings = UTF-8, gbk, ucs-bom, cp936 "vim supports Chinese Encoding
Fcitx
$ Sudo apt-get install fcitx-table-wubi fcitx-config-gtk
This code is installed with five strokes, Pinyin, and double spelling input methods.
If you do not have fcitx-table-wubi, you have installed only the Pinyin and double spelling input methods, but not the five-stroke input methods.
Gedit's support for Chinese Encoding
Gconftool-2 -- set -- type = list -- list-type = string/apps/gedit-2/preferences/encodings/auto_detected "[UTF-8, CURRENT, GBK, BIG5-HKSCS, UTF-16]"
Adobe Flash Player for Chromium and firefox
Go to renewal
Install necessary libraries for development
Sudo apt-get install auto-conf, libtool, xutils-dev, zlib1g-dev, uuid-dev, libpcre3-dev,
Then you can compile and install Larbin and Xapian.