ubuntu怎么选择最快的更新源? ubuntu更改最快的更新源的图文教程
给ubuntu选择最快的更新源
1、打开设置》》软件和更新,如下图
2、下载自:下拉菜单,选择其他站点
3、你可以选择最佳服务器,也可以指定你满意的服务器。选择之后要求输入密码
4、选择关闭,之后会重新自动执行更新命令(sudo apt-get update),更新完成
安装Ubuntu18.04后,使用国外源太慢了,修改为国内源会快很多。
修改阿里源为Ubuntu 18.04默认的源
备份/etc/apt/sources.list
#备份
cp /etc/apt/sources.list /etc/apt/sources.list.bak
在/etc/apt/sources.list文件前面添加如下条目
#添加阿里源
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
最后执行如下命令更新源
##更新
sudo apt-get update
sudo apt-get upgrade
另外其他几个国内源如下:
中科大源
##中科大源
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
163源
##163源
deb http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ bionic-backports main restricted universe multiverse
清华源
##清华源
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
相关推荐:
相关文章
如何安装Ubuntu 12.04 图文详解Ubuntu 12.04安装过程
本文我们就以图文的方式来介绍下如何安装Ubuntu 12.04,步骤详细清晰,感兴趣的朋友可以参考下2016-06-30Ubuntu安装xrdp实现从Windows端的远程桌面连接教程
xrdp是一个提供针对Windows远程桌面支持的服务器程序,有了它在图形化界面的Ubuntu上的运行,我们便可以在Windows下用mstsc来进行远程GUI操控了,下面我们就来看一下Ubuntu安2016-06-30- GRUB引导的丢失是更换硬件或硬盘中添加别的系统后的常见问题,2016-06-30
- 这篇文章主要介绍了在Ubuntu上安装消息传递接口Open MPI库的教程,Open MPI在C++程序相关开发中经常可以用到,需要的朋友可以参考下2016-06-30
为笔记本上的Ubuntu系统安装Nvidia驱动及进行显卡切换的教程
Ubuntu默认的Unity图形界面环境现在一般的显卡驱动都支持,而且如果是带核显的笔记本的话还支持双显卡切换,以下我们就来详细看一下为笔记本上的Ubuntu系统安装Nvidia驱动及2016-06-30Ubuntu 12.04/14.04 LTS版内核更新 修复七个重大安全漏洞
今天Canonical团队为Ubuntu 12.04/14.04发布了内核更新,修复七个重大安全漏洞,该怎么更新呢?下面我们就来看看详细的教程,需要的朋友可以参考下2016-06-28- Ubuntu 14.04.3系统怎么安装网易云音乐软件?Ubuntu系统和windows系统不同,安装软件也比较麻烦,该怎么安装网易云音乐呢?下面我们就来看看详细的教程,需要的朋友可以参2016-06-28
ubuntu 16.04使用软件中心升级软件后桌面显示空白该怎么办?
ubuntu 16.04使用软件中心升级软件后桌面显示空白该怎么办?很多朋友遇到一个问题,就是使用ubuntu 16.04中的软件中心下载或者升级软件后,电脑都会出问题,桌面不现实图标2016-06-28Ubuntu Kylin 14.10默认的屏幕分辨率怎么更改?
Ubuntu Kylin 14.10默认的屏幕分辨率怎么更改?Ubuntu系统默认的分辨率太低了,想自己设置的更高一些,该怎么设置呢?下面我们就来看看Ubuntu设置屏幕分辨率的教程,需要的2016-06-28Ubuntu上FTP服务器程序vsftpd安装配置全流程攻略
vsftpd是服务器端最最常用的FTP服务架设程序,这里我们就从部署和用户访问控制等多个基础方面,来看一下Ubuntu上FTP服务器程序vsftpd安装配置全流程攻略:2016-06-21
最新评论