debian 6软件更新源列表

deb http://ftp.debian.org/debian/ squeeze main non-free contrib
deb http://ftp.debian.org/debian/ squeeze-proposed-updates main non-free contrib

 

#debian 6 网易软件更新源
deb http://mirrors.163.com/debian/ squeeze main non-free contrib
deb http://mirrors.163.com/debian/ squeeze-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ squeeze main non-free contrib
deb-src http://mirrors.163.com/debian/ squeeze-proposed-updates main non-free contrib

#debian 6 中科大ustc 软件更新源,教育网速度很快
deb http://mirrors.ustc.edu.cn/debian/ squeeze main non-free contrib
deb http://mirrors.ustc.edu.cn/debian/ squeeze-proposed-updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ squeeze main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ squeeze-proposed-updates main non-free contrib

#debian 6 上海交大软件更新源
deb http://ftp.sjtu.edu.cn/debian/ squeeze main non-free contrib
deb http://ftp.sjtu.edu.cn/debian/ squeeze-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security/ squeeze/updates main non-free contrib

#debian 6 搜狐软件更新源
deb http://mirrors.sohu.com/debian squeeze-proposed-updates main contrib non-free
deb-src http://mirrors.sohu.com/debian squeeze-proposed-updates main contrib non-free

 

 

Debian中源列表文件在 /etc/apt/sources.list,因为默认是没有sudo的,所以暂时需要先su root, 没有vim暂时先用vi。
首先要把带有类似"deb cdrom"字眼的行给注释掉,不然系统会先找cd,因为没注意到这里让我纠结了很久。然后就是添加源,国内的话用网易的源还是不错的选择,将以下文字添加到/etc/apt/sources.list
deb http://mirrors.163.com/debian squeeze main non-free contrib
deb http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free
deb http://mirrors.163.com/debian-security squeeze/updates main contrib non-free
deb-src http://mirrors.163.com/debian squeeze main non-free contrib
deb-src http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian-security squeeze/updates main contrib non-free
完成之后,更新源: apt-get update
 
我的/etc/apt/sources.list文件内容如下:
 # deb http://mirrors.163.com/debian squeeze main
deb http://mirrors.163.com/debian squeeze main
deb-src
http://mirrors.163.com/debian squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src
http://security.debian.org/ squeeze/updates main
# squeeze-updates, previously known as 'volatile'
deb
http://mirrors.163.com/debian squeeze-updates main
deb-src
http://mirrors.163.com/debian squeeze-updates main

 

  1. 安装中文支持
    sudo apt-get install locales
    sudo dpkg-reconfiguer locales
    选择上带zh字样的,默认语言选择en_US.UTF-8
  2. 安装vim
    apt-get install vim
  3. 安装vncserver&&vncviewer
    apt-get install tightvncserver vncviewer
4)安装nfs服务器
apt-get install nfs-kernel-server nfs-common portmap
vim /etc/exports
/home &(rw,sync,no_root_squash)
/etc/init.d/nfs-kernel-server start

 

4)安装ssh服务器

apt-get install openssh-server
apt-get install ssh

你可能感兴趣的:(Debian)