华为云计算 云知识 Ubuntu-Releases镜像怎么配置
Ubuntu-Releases镜像怎么配置

Ubuntu的仓库地址为:https://repo.huaweicloud.com/ubuntu/

Ubuntu-CD的 镜像 地址为:https://repo.huaweicloud.com/ubuntu-cdimage/

Ubuntu-Cloud的镜像地址为:https://repo.huaweicloud.com/ubuntu-cloud-images/

Ubuntu-Ports的仓库地址为:https://repo.huaweicloud.com/ubuntu-ports/

Ubuntu-Releases的镜像地址为:https://repo.huaweicloud.com/ubuntu-releases/

1、备份配置文件:

sudo cp-a/etc/apt/sources.list/etc/apt/sources.list.bak

2、修改sources.list文件,将http://archive.ubuntu.com和http://security.ubuntu.com替换成http://repo.huaweicloud.com,可以参考如下命令:

sudo sed-i"s http://.*archive.ubuntu.com http://repo.huaweicloud.com g"/etc/apt/sources.list
sudo sed-i"s http://.*security.ubuntu.com http://repo.huaweicloud.com g"/etc/apt/sources.list

3、执行apt-get update更新索引

相关网址

Ubuntu官方地址:http://www.ubuntu.com/

Ubuntu论坛地址:http://ubuntuforums.org/

Ubuntu Wiki地址:https://wiki.ubuntu.com/

Ubuntu帮助地址:https://help.ubuntu.com/

Ubuntu邮件列表地址:http://www.ubuntu.com/support/community/mailinglists

上一篇:智慧教学云平台教师使用手册-实验室案例管理 下一篇:智慧校园应用管理平台主要功能-智慧教务阅卷与成绩管理

镜像服务 IMS

镜像是用于创建服务器或磁盘的模板。镜像服务提供镜像生命周期管理能力。可以通过服务器或外部文件创建系统盘镜像或数据盘镜像,也可以使用弹性云服务器或云服务器备份创建带数据盘的整机镜像。创建镜像功能免费,仅需支付使用对象存储服务或云服务器备份的费用。