ubuntu18.04(bionic) 配置阿里数据源
程序员文章站
2022-03-30 11:47:25
先备份源数据原文件 编辑 sources.list,输入内容如下: 保存关闭文件,更新数据源。 ......
先备份源数据原文件
cp sources.list sources.list.bak
编辑 sources.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
上一篇: 负载均衡学习笔记之DNS域名解析负载均衡
下一篇: postgresql 启动与停止操作