美文网首页
Ubuntu16.04LTS国内快速源

Ubuntu16.04LTS国内快速源

作者: 二号潜水艇 | 来源:发表于2016-07-26 15:15 被阅读1837次

一、源文件位置

备份并替换/etc/apt/sources.list的源内容:

二、更改源文件内容

sudo vi /etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##测试版源
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
# 源码
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##测试版源
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
# Canonical 合作伙伴和附加
deb http://archive.canonical.com/ubuntu/ xenial partner
deb http://extras.ubuntu.com/ubuntu/ xenial main

搜狐的源:

# deb cdrom:[Xubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.sohu.com/ubuntu/ xenial main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.sohu.com/ubuntu/ xenial-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://mirrors.sohu.com/ubuntu/ xenial universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial universe
deb http://mirrors.sohu.com/ubuntu/ xenial-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.sohu.com/ubuntu/ xenial multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://mirrors.sohu.com/ubuntu/ xenial-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.sohu.com/ubuntu/ xenial-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://mirrors.sohu.com/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://mirrors.sohu.com/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://mirrors.sohu.com/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

相关文章

  • Ubuntu16.04LTS国内快速源

    一、源文件位置 备份并替换/etc/apt/sources.list的源内容: 二、更改源文件内容 搜狐的源:

  • ubuntu 18.04 安装 LNMP

    ubuntu16.04LTS更换阿里源 备份原来的源 更换源 将原来的内容全部删掉,记住时全部删掉,不用担心会出问...

  • NRM(切换nam源)

    安装 nrm 自由切换 npm 源 国内镜像提升下载速度 基于 npm ,全局安装以后,你开源无缝快速切换几个源,...

  • 我的Debian的源

    系统:Debian 8.7 LXDE 64国内的快速的debian源(/etc/apt/sources.list)...

  • 快速在MacOS 安装brew

    推荐大家使用国内镜像源,在MacOS上快速下载安装brew 复制下面这段命令到终端,进入自动安装脚步步骤,选择国内...

  • Material design icons 国内CDN

    安装源 使用国内CDN(推荐)BootCDN 稳定、快速,目前极力推荐。 BootCDN.cn 在CSS中声明这些...

  • manjaro+xfce桌面配置和安装软件:换源、WPS、TIM

    参考文章:manjaro快速安装debtap,转换deb安装包,替换源,解决debtap同步仓库国内执行超慢-破碎...

  • ubuntu16.04LTS更换阿里源

    $ sudo gedit /etc/apt/sources.list替换全部内容 执行更新$ sudo apt-g...

  • ubuntu16.04LTS更换阿里源

    更换之前要先备份之前的源: 编辑源列表文件 将原来的列表删除,替换: 更新:

  • Composer国内镜像源设置姿势

    安装composer 设置国内镜像源姿势一 之 全局配置 设置国内镜像源姿势之一 之 单项目配置 设置国内镜像源姿...

网友评论

      本文标题:Ubuntu16.04LTS国内快速源

      本文链接:https://www.haomeiwen.com/subject/odzudttx.html