新网创想网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
这篇文章将为大家详细讲解有关Ubuntu17.04中如何更换国内源,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
成都创新互联长期为1000+客户提供的网站建设服务,团队从业经验10年,关注不同地域、不同群体,并针对不同对象提供差异化的产品和服务;打造开放共赢平台,与合作伙伴共同营造健康的互联网生态环境。为孝昌企业提供专业的做网站、网站建设,孝昌网站改版等技术服务。拥有十余年丰富建站经验和众多成功案例,为您定制开发。
### 修改源命令:
sudo vi /etc/apt/source.list
### 把source.list内容替换成下面其中一个源
##阿里云 deb http://mirrors.aliyun.com/ubuntu/ zesty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ zesty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ zesty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ zesty-backports main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ zesty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ zesty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ zesty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ zesty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ zesty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ zesty-proposed main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ zesty partner deb http://extras.ubuntu.com/ubuntu/ zesty main
##Ubuntu官方中国 deb http://cn.archive.ubuntu.com/ubuntu/ zesty main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse deb http://cn.archive.ubuntu.com/ubuntu/ zesty-proposed main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse deb-src http://cn.archive.ubuntu.com/ubuntu/ zesty-proposed main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ zesty partner deb http://extras.ubuntu.com/ubuntu/ zesty main
##网易源 deb http://mirrors.163.com/ubuntu/ zesty main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ zesty-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ zesty-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ zesty-backports main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ zesty-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ zesty main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ zesty-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ zesty-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ zesty-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ zesty-proposed main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ zesty partner deb http://extras.ubuntu.com/ubuntu/ zesty main
第二种方法直接在界面打开:
再进入software&updates:
选择自己所需要的源,
过程完成,说明更新完成。
关于“Ubuntu17.04中如何更换国内源”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。