我的 debian 配置笔记

时间匆忙,仅仅是作为记录笔记使用,见谅!网上的源不断变化,一定找准源

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-free
deb-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-free
then apt-get update and apt-get upgrade
2.dpkg-reconfigure locales//修改本地字体,将zh_CN全选,默认zh_CN UTF-8
3.
apt-get install xfonts-intl-chinese wqy*//安装中文字体。。。intl不是1(一)
4.(在9后面)

 apt-get install firmware-iwlwifi//安装无线??(有点问题)
4.1查看网卡型号:
 # lsmod | grep iw
 安装网卡驱动和无线网络配置工具:
 # sudo apt-get install firmware-iwlwifi wireless-tools
 加载无线网卡驱动:
 # modprobe iwl4965
 重启系统:
 # reboot
 此时,网卡应该被探测到!
4.2.查看网卡信息:
 # iwconfig
 无线网卡一般是wlan0
 # ifconfig wlan0 up #启用无线网卡
 查看附近可用的无线接入点(AP)
 # iwlist wlan0 scan
 让无线网卡接入无线网络:
 # iwconfig wlan0 ESSID "linkname" KEY "password" open

 5.ifconfig
6. apt-get install ibus-pinyin//ibus-googlepinyin
7.apt-get install flashplugin-nonfree 
8.lspci | grep VGA
9.apt-get install gcc#(4.7) make build-essential linux-headers-$(uname -r)
gcc(4.6)
10.apt-get install sudo
then open /etc/sudoers fill with

# User privilege specification
root	ALL=(ALL:ALL) ALL

XX 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 mercurial

sudo apt-get remove vim vim-runtime gvim
cd ~
 hg clone https://code.google.com/p/vim
cd 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=/usr
make VIMRUNTIMEDIR=/usr/share/vim/vim74

sudo make install


vim -v ok!
vundle:
 git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
 jiang fangzai .vimrc(~/.vim/.vimrc)
set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set 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, required
Plugin 'gmarik/vundle'

" The following are examples of different formats supported.
" Keep Plugin commands between here and filetype plugin indent on.
" scripts on GitHub repos
Plugin '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.html
Plugin 'L9'
Plugin 'FuzzyFinder'
" scripts not on GitHub
Plugin '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 line
4,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



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值