ubuntu 18.04 (bionic) server 配置阿里云 opsx 安装源

ubuntu 18.04 (bionic) server 配置阿里云 opsx 安装源

由于阿里云上还未发布 ubuntu 18.04 的公共镜像,所以本文只对互联网非云用户的环境配置进行说明,待云上 18.04的镜像上线后,本文再做更新。

ubuntu 18.04(bionic) 配置如下

创建自己的配置文件,比如创建文件,输入命令:

vi /etc/apt/sources.list.d/aliyun.list

拷贝粘贴内容如下:

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src 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-backports main restricted universe multiverse

然后执行:

sudo apt-get update

即可。


原创文章,作者:306829225,如若转载,请注明出处:https://blog.ytso.com/228956.html

(0)
上一篇 2022年1月11日
下一篇 2022年1月11日

相关推荐

发表回复

登录后才能评论