技术专栏
Ubuntu16.04更改默认镜像源
打开命令行终端:
cd /etc/apt
将原先的文件复制做备份
sudo cp sources.list sources.list.backup
然后再对此文件进行修改,更换新的镜像源:
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security multiverse
保存并退出,然后进行更新:
sudo apt-get update
声明:本文内容由易百纳平台入驻作者撰写,文章观点仅代表作者本人,不代表易百纳立场。如有内容侵权或者其他问题,请联系本站进行删除。
红包
点赞
收藏
评论
打赏
- 分享
- 举报
评论
0个
手气红包
暂无数据
相关专栏
-
浏览量:3666次2020-04-26 17:55:16
-
2019-09-18 22:02:59
-
浏览量:1767次2021-12-07 09:35:55
-
浏览量:2423次2020-04-28 16:24:10
-
浏览量:232次2023-12-22 14:13:56
-
浏览量:3437次2021-12-03 16:40:57
-
浏览量:522次2023-06-12 14:34:29
-
浏览量:5138次2021-12-10 16:15:34
-
浏览量:438次2023-09-01 13:29:58
-
浏览量:4145次2021-04-09 16:28:04
-
浏览量:1561次2023-06-12 14:35:49
-
浏览量:341次2024-01-10 15:17:17
-
浏览量:323次2023-11-30 11:48:53
-
2024-02-02 14:41:10
-
浏览量:4137次2020-09-30 18:22:39
-
浏览量:116次2024-04-04 22:59:26
-
浏览量:3982次2020-07-31 13:45:09
-
浏览量:8418次2020-05-07 14:42:07
-
浏览量:1999次2021-10-14 17:11:05
置顶时间设置
结束时间
删除原因
-
广告/SPAM
-
恶意灌水
-
违规内容
-
文不对题
-
重复发帖
打赏作者
big_anana
您的支持将鼓励我继续创作!
打赏金额:
¥1
¥5
¥10
¥50
¥100
支付方式:
微信支付
打赏成功!
感谢您的打赏,如若您也想被打赏,可前往 发表专栏 哦~
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
审核成功
发布时间设置
发布时间:
请选择发布时间设置
是否关联周任务-专栏模块
审核失败
失败原因
请选择失败原因
备注
请输入备注