debian 6软件更新源列表

摘要:
首先,用“debcdrom”之类的单词注释掉这些行,否则系统会首先找到CD,因为我没有注意到它让我纠结了很长时间。

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文件内容如下:
# debhttp://mirrors.163.com/debiansqueeze main
debhttp://mirrors.163.com/debiansqueeze main
deb-src
http://mirrors.163.com/debiansqueeze main
debhttp://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/debiansqueeze-updates main
deb-src
http://mirrors.163.com/debiansqueeze-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 6软件更新源列表》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇Python系列:二、数据类型--技术流kenHTML 表单常用的代码元素下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

好用的Linux下PDF编辑批注软件PDF Studio Pro 11

在Windows下,常用foxit phantom,既能查看PDF,又能修改页面,还能各种批注。linux下,Evince查看、文本注释、高亮注释还不错。但是功能就这么多了,要更多的话,修改用pdfedit、pdf mod,加注记用Xournal,合并用pdktk等等。难道没有更强大的了吗?找到PDF Studio Pro,功能都有了,很好用。 来源:...

DeBian防火墙的开关以及状态

查看防火墙现有规则: ufw status 开启/关闭防火墙: ufw enable //开启 ufw disable //关闭 开启指定tcp或者udp端口: ufw allow 22/tcp 同时开启tcp与udp端口: ufw allow 445 删除53端口: ufw delete allow 53 拒绝指定tcp或者udp端口: allow/...

乌班图 之 apt命令 及 VMware共享文件夹

apt是Advanced Packaging Tool ,是Ubuntu下的一个安装包管理工具 大部分软件的安装、更新、卸载 都是利用apt命令来实现 直接在终端输入apt即可查阅命令的帮助信息 常用命令如下: 安装软件  sudo apt install 软件名 卸载软件  sudo apt remove 更新可用软件包列表  sudo apt u...

Ubuntu apt-get: Package has no installation candidate

今天在安装软件的时候出现了Package has no installation candidate的问题,如: #  apt-get install <packagename>Reading package lists... DoneBuilding dependency tree... DonePackage aptitude is no...

最小化x11 debian

How to setup a minimal X11 environment on Debian GNU/Linux Install the following packages xserver-xorg-core (server) xserver-xorg-video-XXX (video driver, XXX depends on you...

ubuntu 安装opera及解决中文输入问题

http://blog.csdn.net/lb015331/archive/2011/05/31/6455927.aspx 一、安装opera   1、添加opera官方源(sudo gedit /etc/apt/sources.list):       deb http://deb.opera.com/opera/ unstable non-free 2...