• 专注于网站建设,网络推广,关键词优化,SEO优化,专业的网站建设开发团队!
首页 > IT技术 > Linux > 内容

Ubuntu 更新源地址列表及更改方法

2015-06-14 19:22:28   来源:叶景网络
    Ubuntu安装好后,给Ubuntu 12.04更换源,软件源、更新源,个人觉得网易的Ubuntu更新源速度还错,下如以网易源来进行图解。
    1、首先备份Ubuntu 12.04源列表 
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份当前的源列表)    
Ubuntu 更新源
    2、修改更新源
    sudo gedit /etc/apt/sources.list (打开Ubuntu 12.04源列表文件)    
    可以在里面添加资源地址,我这里是直接覆盖掉原来的。
更新163源
    3、将下面的代码粘贴到sources.list中,
    下面是一些较好的源,有大型网站的,也有教育网的,可以根据自己的情况添加两三个即可。
    #网易的源(163源,无论是不是教育网,速度都很快)
    deb http://mirrors.163.com/ubuntu/ raring main universe restricted multiverse
    deb-src http://mirrors.163.com/ubuntu/ raring main universe restricted multiverse
    deb http://mirrors.163.com/ubuntu/ raring-security universe main multiverse restricted
    deb-src http://mirrors.163.com/ubuntu/ raring-security universe main multiverse restricted
    deb http://mirrors.163.com/ubuntu/ raring-updates universe main multiverse restricted
    deb http://mirrors.163.com/ubuntu/ raring-proposed universe main multiverse restricted
    deb-src http://mirrors.163.com/ubuntu/ raring-proposed universe main multiverse restricted
    deb http://mirrors.163.com/ubuntu/ raring-backports universe main multiverse restricted
    deb-src http://mirrors.163.com/ubuntu/ raring-backports universe main multiverse restricted
    deb-src http://mirrors.163.com/ubuntu/ raring-updates universe main multiverse restricted
    #搜狐的源(sohu 源今天还没有更新,不过应该快了)
    deb http://mirrors.sohu.com/ubuntu/ raring main restricted
    deb-src http://mirrors.sohu.com/ubuntu/ raring main restricted
    deb http://mirrors.sohu.com/ubuntu/ raring-updates main restricted
    deb-src http://mirrors.sohu.com/ubuntu/ raring-updates main restricted
    deb http://mirrors.sohu.com/ubuntu/ raring universe
    deb-src http://mirrors.sohu.com/ubuntu/ raring universe
    deb http://mirrors.sohu.com/ubuntu/ raring-updates universe
    deb-src http://mirrors.sohu.com/ubuntu/ raring-updates universe
    deb http://mirrors.sohu.com/ubuntu/ raring multiverse
    deb-src http://mirrors.sohu.com/ubuntu/ raring multiverse
    deb http://mirrors.sohu.com/ubuntu/ raring-updates multiverse
    deb-src http://mirrors.sohu.com/ubuntu/ raring-updates multiverse
    deb http://mirrors.sohu.com/ubuntu/ raring-backports main restricted universe multiverse
    deb-src http://mirrors.sohu.com/ubuntu/ raring-backports main restricted universe multiverse
    deb http://mirrors.sohu.com/ubuntu/ raring-security main restricted
    deb-src http://mirrors.sohu.com/ubuntu/ raring-security main restricted
    deb http://mirrors.sohu.com/ubuntu/ raring-security universe
    deb-src http://mirrors.sohu.com/ubuntu/ raring-security universe
    deb http://mirrors.sohu.com/ubuntu/ raring-security multiverse
    deb-src http://mirrors.sohu.com/ubuntu/ raring-security multiverse
    deb http://extras.ubuntu.com/ubuntu raring main
    deb-src http://extras.ubuntu.com/ubuntu raring main
    #台湾源(台湾的ubuntu 更新源还是很给力的)
    deb http://tw.archive.ubuntu.com/ubuntu/ raring main universe restricted multiverse
    deb-src http://tw.archive.ubuntu.com/ubuntu/ raring main universe restricted multiverse
    deb http://tw.archive.ubuntu.com/ubuntu/ raring-security universe main multiverse restricted
    deb-src http://tw.archive.ubuntu.com/ubuntu/ raring-security universe main multiverse restricted
    deb http://tw.archive.ubuntu.com/ubuntu/ raring-updates universe main multiverse restricted
    deb-src http://tw.archive.ubuntu.com/ubuntu/ raring-updates universe main multiverse restricted
    #骨头源,骨头源是bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin
    deb http://ubuntu.srt.cn/ubuntu/ raring main universe restricted multiverse
    deb-src http://ubuntu.srt.cn/ubuntu/ raring main universe restricted multiverse
    deb http://ubuntu.srt.cn/ubuntu/ raring-security universe main multiverse restricted
    deb-src http://ubuntu.srt.cn/ubuntu/ raring-security universe main multiverse restricted
    deb http://ubuntu.srt.cn/ubuntu/ raring-updates universe main multiverse restricted
    deb http://ubuntu.srt.cn/ubuntu/ raring-proposed universe main multiverse restricted
    deb-src http://ubuntu.srt.cn/ubuntu/ raring-proposed universe main multiverse restricted
    deb http://ubuntu.srt.cn/ubuntu/ raring-backports universe main multiverse restricted
    deb-src http://ubuntu.srt.cn/ubuntu/ raring-backports universe main multiverse restricted
    deb-src http://ubuntu.srt.cn/ubuntu/ raring-updates universe main multiverse restricted
    #ubuntu.cn99.com源(推荐):
    deb http://ubuntu.cn99.com/ubuntu/ raring main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu/ raring-updates main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu/ raring-security main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu/ raring-backports main restricted universe multiverse
    deb http://ubuntu.cn99.com/ubuntu-cn/ raring main restricted universe multiverse
    #教育网源
    #电子科技大学
    deb http://ubuntu.uestc.edu.cn/ubuntu/ raring main restricted universe multiverse
    deb http://ubuntu.uestc.edu.cn/ubuntu/ raring-backports main restricted universe multiverse
    deb http://ubuntu.uestc.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
    deb http://ubuntu.uestc.edu.cn/ubuntu/ raring-security main restricted universe multiverse
    deb http://ubuntu.uestc.edu.cn/ubuntu/ raring-updates main restricted universe multiverse
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ raring main restricted universe multiverse
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ raring-backports main restricted universe multiverse
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ raring-security main restricted universe multiverse
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ raring-updates main restricted universe multiverse
    #中国科技大学
    deb http://debian.ustc.edu.cn/ubuntu/ raring main restricted universe multiverse
    deb http://debian.ustc.edu.cn/ubuntu/ raring-backports restricted universe multiverse
    deb http://debian.ustc.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
    deb http://debian.ustc.edu.cn/ubuntu/ raring-security main restricted universe multiverse
    deb http://debian.ustc.edu.cn/ubuntu/ raring-updates main restricted universe multiverse
    deb-src http://debian.ustc.edu.cn/ubuntu/ raring main restricted universe multiverse
    deb-src http://debian.ustc.edu.cn/ubuntu/ raring-backports main restricted universe multiverse
    deb-src http://debian.ustc.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
    deb-src http://debian.ustc.edu.cn/ubuntu/ raring-security main restricted universe multiverse
    deb-src http://debian.ustc.edu.cn/ubuntu/ raring-updates main restricted universe multiverse
    #北京理工大学
    deb http://mirror.bjtu.edu.cn/ubuntu/ raring main multiverse restricted universe
    deb http://mirror.bjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe
    deb http://mirror.bjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe
    deb http://mirror.bjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe
    deb http://mirror.bjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring main multiverse restricted universe
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
    #兰州大学
    deb ftp://mirror.lzu.edu.cn/ubuntu/ raring main multiverse restricted universe
    deb ftp://mirror.lzu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe
    deb ftp://mirror.lzu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe
    deb ftp://mirror.lzu.edu.cn/ubuntu/ raring-security main multiverse restricted universe
    deb ftp://mirror.lzu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
    deb ftp://mirror.lzu.edu.cn/ubuntu-cn/ raring main multiverse restricted universe
    #上海交通大学(上海交大源,教育网的速度不用说了)
    deb http://ftp.sjtu.edu.cn/ubuntu/ raring main multiverse restricted universe
    deb http://ftp.sjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe
    deb http://ftp.sjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe
    deb http://ftp.sjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe
    deb http://ftp.sjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
    deb http://ftp.sjtu.edu.cn/ubuntu-cn/ raring main multiverse restricted universe
    deb-src http://ftp.sjtu.edu.cn/ubuntu/ raring main multiverse restricted universe
    deb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe
    deb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe
    deb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe
    deb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
    添加好后保存,再输入 sudo apt-get update 就可以更新了,等着慢慢下载东西,如下图所示:
sudo apt-get update
    本文由叶景网络原创,转载请标明出处!
叶景网络,网络推广,网站建设
特别推荐RECOMMEND
搜索引擎网站关键词seo优化的意义
视频推广怎么做
网站seo优化怎么做关键词排上首页?
SEO介绍什么叫搜索引擎网站关键词优化
seo优化怎样做提升关键词排名
热点图文Hot
Linux Apache+php+Mysql 编译安装 Linux Apache+php+
Sublime桌面快捷图标的创建 Sublime桌面快捷图
Ubuntu+iBus下Sublime Text2编辑器输入中文 Ubuntu+iBus下Subli
Ubuntu和Windows双系统选择开机顺序调整 Ubuntu和Windows双
关注排行RANKING
1

Linux Apache+php+Mysql 编译安装

Linux Apache+php+Mysql 编译安装 叶景网络(www cngxit com),致力于互联网品牌建设与网络营销,专业领...

2

Sublime桌面快捷图标的创建

Sublime桌面快捷图标的创建 Sublime Text 2,一个基本上可以称得上是IDE的编辑器,最先看到是在前公司的...

3

Ubuntu+iBus下Sublime Text2编辑器输入中文

Ubuntu+iBus下Sublime Text2编辑器输入中文 叶景网络(www cngxit com),致力于互联网品牌建设与网络营销,专业领域包括网站建设...

4

Ubuntu和Windows双系统选择开机顺序调整

Ubuntu和Windows双系统选择开机顺序调整 一般用Ubuntu和Windows双系统开机时会涉及到哪个操作系统优先启动的问题,当然...

5

Linux下Sublime Text 2编辑器的破解方法

Linux下Sublime Text 2编辑器的破解方法 Linux下Sublime Text 2编辑器的破解 版本:2 0 1 Build 2217。这个版本中破解需...

6

Ubuntu下配置IP地址方法

Ubuntu下配置IP地址方法 叶景网络(www cngxit com),致力于互联网品牌建设与网络营销,专业领...

7

Ubunut下beyond compare 3.3.4 的注册

Ubunut下beyond compare 3.3.4 的注册 由于经常与代码打交道,有时想对比两个文件内容,在windows下时安装了beyond compare,...

8

Ubuntu下SSH的安装与使用

Ubuntu下SSH的安装与使用 ubuntu默认并没有安装ssh服务,如果通过ssh链接ubuntu,需要自己手动安装ssh-server。...

9

Ubuntu开启远程桌面共享与共享windows磁盘

Ubuntu开启远程桌面共享与共享windows磁盘 其实Ubuntu 12 04本身就是一个图形化系统,所以他既然能够查看远程桌面,当然也能做远...