1.安裝debian系統(tǒng),只安裝最基本系統(tǒng)
不要桌面阻星,不要print server祖娘,具體不會看網(wǎng)上圖文并茂的
- 直接裝英文系統(tǒng)戏挡,后期改中文
設(shè)置支持中文:dpkg-reconfigure locales(如果沒有就安裝locales)
選擇最后的 zh_CN GB2312 zh_CN.GBK GBK zh_CN.UTF-8 UTF-8 f 最后默認(rèn)locales還是英文(英文系統(tǒng)的意思) - 直接裝中文爷辙,就ok了
2.安裝完成配置源 /etc/apt/source.list
sid表示最新的课竣,每天都更新 ;
testing表示測試版本,
wheezy (2014年)不想用測試元暴,換成穩(wěn)定版篷扩,
如下:
前2個是更新軟件用
后2個更新系統(tǒng)用
deb http://ftp.cn.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.cn.debian.org/debian/ sid main contrib non-free
deb http://security.debian.org/ testing/updates main contrib
deb-src http://security.debian.org/ testing/updates main contrib
- PS:這里目前配置時,只有vi 還沒裝vim(上下左右不能用(HJKL)茉盏,只有x 退格鍵也不能用鉴未,后續(xù)都會有配置)
3.配置完成后枢冤,
apt-get update
更新這個apt參考的數(shù)據(jù)庫,把源里軟件亂七八糟名及版本等信息保存下來铜秆,以后apt安裝參考用
apt-get dist-upgrade
更新系統(tǒng)到最新版tesing (apt-get upgrade只有更新系統(tǒng)本身安裝的軟件淹真,系統(tǒng)不更)
- PS:時間較長
4.安裝相應(yīng)軟件(自取)
* 別用apt-get autoremove,牛人就無所謂了)
* 時不時用下命令apt-get update不和centos樣自動執(zhí)行)
apt-get install zenhei* 安裝字體 文泉驛 wenquanyi就是zenhei*
apt-get install xfce4 桌面(apt-get install xorg已經(jīng)包含安裝了)
apt-get install lightdm開機(jī)啟動管理,輕量級的
apt-get install terminator 安裝終端,能分屏的
apt-get install synaptic 新力得界面安裝軟件用 挺好的
apt-get install vim
apt-get install build-essential cmake gcc linux-headers-`uname -r`
該重啟了 呵呵
1)打開新力得连茧,安裝vim插件youcompleteme,安裝完后核蘸,執(zhí)行vam install youcompleteme
2) 或者命令行
sudo apt-get install vim ;
sudo apt-get install vim-youcompleteme ;
sudo apt-get install vim-addon-manager ;
vam install youcompleteme .
apt-get install fcitx 輸入法
apt-get install fcitx-googlepinyin(或者通過新力得安裝),嫌這拼音不好用啸驯,可下載安裝搜狗輸入法for linux,下下來客扎,安裝時,提示缺少依賴包
就apt-get -f install (===解決依賴===)編輯c,c++就codeblocks 調(diào)試方便罚斗,不太大printf也成(synaptic)
新力得安裝rabbitvcs徙鱼,再安裝thunar-vcs-plugin
(關(guān)于svn中文檔有無svn標(biāo)示這點(diǎn),是thunar和Nautilus 問題针姿,自己google搜)字體不好看袱吆,安裝ttf-wqy-microhei或者consoles和微軟雅黑雜交體,google搜
拷貝字體后距淫,注冊字體用下面3命令
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
設(shè)置字體時注意權(quán)限绞绒,和系統(tǒng)一致即可
-
安裝wps,下載deb包榕暇,安裝試下蓬衡,提示不能安裝32位。linux不和windows樣64包容32
-
想做到彤枢,就要開啟混合架構(gòu)
dpkg --add-architecture i386
apt-get update
直接apt-get dist-upgrade sudo apt-get install ia32-libs ia32-libs-gtk 我這個安裝沒反應(yīng)撤蟆,后來dist-upgrade就好了
重啟下吧,再次安裝wps包
-
查看pdf 用evince (簡單的堂污,瀏覽器也可以家肯,但是那些論文類很多公式的,亂碼)
To install Google Chrome, run the following:
For 32 bit:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
For 64 bit:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i ./google-chrome*.deb 安裝
sudo apt-get -f install
There is a dependencies issue with the Google Chrome deb that needs to be resolved - that is what the sudo apt-get -f install is for.安裝chrome瀏覽器需要的類庫
- screenfetch 一個查看系統(tǒng)配置的命令
5.系統(tǒng)配置文件
- 1.vimrc 直接修改/etc/vim/vimrc
syntax on
set tabstop=4
set softtabstop=4
set autoindent
set cindent
set nu
set ruler
" change the interprise color 修改vim的注釋顏色
highlight Comment ctermfg=green guifg=green
PS:::::如果以后折騰了vim盟猖,導(dǎo)致上下左右鍵不好使讨衣,退格不好使。
set nocompletable (不以vi的上下左右用)
set backspace=2
- 2.忽略tab鍵大小寫:
編輯~/.inputrc,在里面加一行 /etc/inputrc最后添加即可
set completion-ignore-case on
-
3.alias和color
- 修改~/.bashrc中:
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ]; then
#eval "`dircolors -b`"
eval "`dircolors ~/.dircolors`"
alias ls='ls --color=auto'
#alias dir='ls --color=auto --format=vertical'
#alias vdir='ls --color=auto --format=long'
fi
* $dircolors -p > ~/.dircolors (root和普通用戶都來一份)
* 修改~/.dircolors中的:" DIR 01;34 # directory " 為自己喜歡的顏色(共有8種顏色可選式镐,具體請看.dircolors注釋),我一般33,黃色即可
6.雜七雜八
alt+F2管理菜單
lspci顯示ATI顯卡反镇,然后安裝顯卡驅(qū)動