[Linux] 纯净ubuntu系统仓库更换为阿里云的源

[Linux] 纯净ubuntu系统仓库更换为阿里云的源,第1张

概述1.先apt-get update一下当前默认的源,更新完成后先把vim命令安装一下,再修改源仓库阿里云,否则无法直接编辑文件 2.先添加阿里云的源,编辑文件/etc/apt/sources.list,编辑完再次更新一下 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb htt

1.先apt-get update一下当前默认的源,更新完成后先把vim命令安装一下,再修改源仓库为阿里云,否则无法直接编辑文件

2.先添加阿里云的源,编辑文件/etc/apt/sources.List,编辑完再次更新一下

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


安装curl wget netstat telnet,这些常用的网络命令

安装netstat是下面这个命令apt-get install net-tools

总结

以上是内存溢出为你收集整理的[Linux] 纯净ubuntu系统仓库更换为阿里云的源全部内容,希望文章能够帮你解决[Linux] 纯净ubuntu系统仓库更换为阿里云的源所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/1022706.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-23
下一篇 2022-05-23

发表评论

登录后才能评论

评论列表(0条)

保存