安装完成后第一件事情是添加一些优秀的源。文件位于:/etc/apt/sources.list
国内一些很好的debian源如下:
网易:
deb http://mirrors.163.com/debian/ wheezy main non-free contrib
deb http://mirrors.163.com/debian/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib
deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main non-free contrib
搜狐
deb http://mirrors.sohu.com/debian/ wheezy main non-free contrib
deb http://mirrors.sohu.com/debian/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.sohu.com/debian/ wheezy main non-free contrib
deb-src http://mirrors.sohu.com/debian/ wheezy-proposed-updates main non-free contrib
中国科技大学
deb http://mirrors.ustc.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.ustc.edu.cn/debian/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ wheezy main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ wheezy-proposed-updates main non-free contrib
清华大学 不是很稳定
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.tuna.tsinghua.edu.cn/ wheezy main non-free contrib
deb-src http://mirrors.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib
北京理工
deb http://mirrors.bit.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.bit.edu.cn/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.bit.edu.cn/ wheezy main non-free contrib
deb-src http://mirrors.bit.edu.cn/ wheezy-proposed-updates main non-free contrib
其他的还有不少,教育网(支持IPv6)的话,加上用pv6 访问会比较快
北京理工(Ipv6)
deb http://mirrors.bit6.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.bit6.edu.cn/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.bit6.edu.cn/ wheezy main non-free contrib
deb-src http://mirrors.bit6.edu.cn/ wheezy-proposed-updates main non-free contrib
清华大学(Ipv6)
deb http://mirrors.6.tuna.tsinghua.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.6.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ wheezy main non-free contrib
deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib
由于在安装debian的时候语言选择是简体中文,之后显示各种方框各种蛋疼(甚至有部分英文字体都显示不了)
解决办法:重新配置locale文件,
#aptitude install locales
#dpkg-reconfigure locales
使用空格勾选
en_US.UTF8
zh_CN GB2312
zh_CN GBK GBK
zh_CN UTF-8 UTF-8
回车确认,光标移至en_US.UTF8,回车,将其设置为默认语言。reboot。
安装图形界面:
安装基本图形界面
# apt-get install x-window-system-core
#startx
之后进入非常简易的图形环境。图一为正在下载GNOME时的简易界面。
之后安装GNOME
#apt-get install gnome-core
#apt-get install gnome(其实按道理说是可以不用上一条命令的,因为这条命令安装的就是完整版的gnome了)