我的debian配置筆記

來源:互聯網
上載者:User

時間匆忙,僅僅是作為記錄筆記使用,見諒!

1.mousepad /etc/apt/source.list   deb http://mirrors.163.com/debian wheezy main non-free contrib#deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-freedeb-src http://mirrors.163.com/debian wheezy main non-free contrib#deb-src http://mirrors.163.com/debian wheezy-proposed-updates main co ntrib non-freethen apt-get update and apt-get upgrade2.dpkg-reconfigure locales3.apt-get install xfonts-intl-chinese wqy*4.apt-get install firmware-iwlwifi 5.ifconfig6. apt-get install ibus-pinyin7.apt-get install flashplugin-nonfree8.lspci | grep VGA9.apt-get install gcc#(4.7) make build-essential linux-headers-$(uname -r)gcc(4.6)10.apt-get install sudothen open /etc/sudoers fill with# User privilege specificationrootALL=(ALL:ALL) ALLXX ALL=(ALL:ALL) ALL//##fill with the sentence*****sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev \libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev ruby-dev mercurialsudo apt-get remove vim vim-runtime gvimcd ~ hg clone https://code.google.com/p/vimcd vim./configure --with-features=huge \            --enable-rubyinterp \            --enable-pythoninterp \            --with-python-config-dir=/usr/lib/python2.7-config \            --enable-perlinterp \            --enable-gui=gtk2 --enable-cscope --prefix=/usrmake VIMRUNTIMEDIR=/usr/share/vim/vim74sudo make installvim -v ok!vundle: git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle jiang fangzai .vimrc(~/.vim/.vimrc)set nocompatible              " be iMproved, requiredfiletype off                  " required" set the runtime path to include Vundle and initializeset rtp+=~/.vim/bundle/vundle/call vundle#rc()" alternatively, pass a path where Vundle should install plugins"let path = '~/some/path/here'"call vundle#rc(path)" let Vundle manage Vundle, requiredPlugin 'gmarik/vundle'" The following are examples of different formats supported." Keep Plugin commands between here and filetype plugin indent on." scripts on GitHub reposPlugin 'tpope/vim-fugitive'Plugin 'Lokaltog/vim-easymotion'Plugin 'tpope/vim-rails.git'" The sparkup vim script is in a subdirectory of this repo called vim." Pass the path to set the runtimepath properly.Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}" scripts from http://vim-scripts.org/vim/scripts.htmlPlugin 'L9'Plugin 'FuzzyFinder'" scripts not on GitHubPlugin 'git://git.wincent.com/command-t.git'" git repos on your local machine (i.e. when working on your own plugin)Plugin 'file:///home/gmarik/path/to/plugin'" ...filetype plugin indent on     " required" To ignore plugin indent changes, instead use:"filetype plugin on"" Brief help" :PluginList          - list configured plugins" :PluginInstall(!)    - install (update) plugins" :PluginSearch(!) foo - search (or refresh cache first) for foo" :PluginClean(!)      - confirm (or auto-approve) removal of unused plugins"" see :h vundle for more details or wiki for FAQ" NOTE: comments after Plugin commands are not allowed." Put your stuff after this line4,vim +PluginInstall +qall 在命令列中載入vim外掛程式先將設定檔如上模式寫好,重啟後,開啟vim then :BundleInstall,清除外掛程式:現在.vimrc(轉移到了/etc/vimrc)中移除該外掛程式,執行BundleClean繼續配置,改變觸控螢幕:# mousepad /usr/share/X11/xorg.conf.d/10-evdev.conf修改這裡(裡面的配置很像、主要Identifier部分來辨別到底改哪的部分)Section "InputClass"Identifier "evdev touchpad catchall"MatchIsTouchpad "on"MatchDevicePath "/dev/input/event*"Driver "synaptics"Option "TapButton1" "1"Option "TapButton2" "2"Option "TapButton2" "3"EndSection

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.