Debian7系统安装配置手册

时间:2021-01-03 11:48:11

一、安装系统

系统版本:Debian7

参考资料:http://www.myhack58.com/Article/48/66/2013/39802.htm

二、配置源

vi /etc/apt/sources.list

 #163源

 #####################主要,开源,闭源
 deb http://mirrors.163.com/debian wheezy main non-free contrib
 deb-src http://mirrors.163.com/debian wheezy main non-free contrib

 ###################wheezy-proposed-updates建议更新
 deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
 deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free

 #wheezy-updates推荐更新
 deb http://mirrors.163.com/debian wheezy-updates main contrib non-free
 deb-src http://mirrors.163.com/debian wheezy-updates main contrib non-free

 #wheezy/updates安全更新
 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 

 deb http://http.us.debian.org/debian wheezy main contrib non-free
 deb http://security.debian.org wheezy/updates main contrib non-free

 #上海交大
 deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
 deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
 deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
 deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
 deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
 deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib

 #上海交大 ipv6
 deb http://ftp6.sjtu.edu.cn/debian wheezy main non-free contrib
 deb http://ftp6.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
 deb http://ftp6.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
 deb-src http://ftp6.sjtu.edu.cn/debian wheezy main non-free contrib
 deb-src http://ftp6.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
 deb-src http://ftp6.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib

 #网易
 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)
 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

三、安装浏览器

sudo apt-get update
sudo apt-get install chromium chromium-l10n

四、安装flash

安装flashplugins
下载http://get.adobe.com/flashplayer,选择.tar.gz包。

tar xvf install_flash_player_11_linux.i386.tar.gz
cp –rv usr /usr
mkdir –v /usr/lib/iceweasel/plugins
cp libflashplayer.so /usr/lib/iceweasel/plugins
cp libflashplayer.so /usr/lib/chromium/plugins