ubuntu安装阿里云镜像地址
Posted RandomObject
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu安装阿里云镜像地址相关的知识,希望对你有一定的参考价值。
Ubuntu安装阿里云镜像地址
- cd /etc/apt
这个目录下的sources.list文件
vim /etc/apt/sources.list - 使用dd全部删除,然后添加阿里云的镜像地址
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
以上是关于ubuntu安装阿里云镜像地址的主要内容,如果未能解决你的问题,请参考以下文章
Ubuntu-16.04下Docker通过阿里云镜像安装(apt-get)