准备阶段:
1、download debian-amd64.ios cd1
http://cdimage.debian.org/debian-cd/7.0.0/amd64/iso-cd/
2、制作启动U盘
In linux : (别选错了盘符)
# dd if=./debian-amd64.ios of=/dev/sdb
In windows : UltraISO
3、重启安装
4、如果安装时提示无法安装wifi,可以到下面的网址下载,进入系统后手动安装
http://packages.debian.org/wheezy/firmware-iwlwifi
成功安装系统后:
1、换源,加入下面的源到 /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 contrib non-free deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free
2、更新源
$ su root # apt-get update
3、安装几个基础的软件
1)vim
# apt-get install vim
修改vim配置
# vim /etc/vim/vimrc
2)sudo:(ubuntu下带过来的习惯)
# apt-get install sudo
添加权限:
# adduser linx sudo
修改权限文件
# vim /etc/sudoers root ALL=(ALL:ALL) ALL username ALL=(ALL:ALL) ALL //加入这一行, username换掉
3)32位兼容库:
$ sudo dpkg --add-architecture i386 $ sudo apt-get update $ sudo apt-get install ia32-libs*
如果缺乏依赖,接着
$ sudo apt-get -f install
4)中文字体添加
$ sudo apt-get install ttf-wqy-*