`
sanyecao2314
  • 浏览: 135800 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

ubuntu系统更新源改为163/aliyun的源

 
阅读更多

新安装的ubuntu系统,默认的更新源是国外的,更新慢的要死.建议改为163或阿里云的源进行更新.

修改方式:sudo vi /etc/apt/sources.list #如果担心出问题,可以先将原文件备份一份.

更新后的内容如下:

deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

 阿里云:

deb http://mirrors.aliyun.com/ubuntu trusty main restricted
deb-src http://mirrors.aliyun.com/ubuntu trusty main restricted

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

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu trusty universe
deb-src http://mirrors.aliyun.com/ubuntu trusty universe
deb http://mirrors.aliyun.com/ubuntu trusty-updates universe
deb-src http://mirrors.aliyun.com/ubuntu trusty-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.aliyun.com/ubuntu trusty multiverse
deb-src http://mirrors.aliyun.com/ubuntu trusty multiverse
deb http://mirrors.aliyun.com/ubuntu trusty-updates multiverse
deb-src http://mirrors.aliyun.com/ubuntu trusty-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.aliyun.com/ubuntu trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

 

分享到:
评论

相关推荐

    aliyun-tablestore-go-sdk:适用于Golang的TableStore SDK

    安装方法GitHub安装执行命令go get github.com/aliyun/aliyun-tablestore-go-sdk获取远程代码包。在您的代码中使用import "github.com/aliyun/aliyun-tablestore-go-sdk" DateTableStore Go SDK的包。贡献代码我们...

    -Aliyun-Assist-Client-阿里云-云助手-aliyun-assist-client.zip

    python_Aliyun_Assist_Client_阿里云_云助手_aliyun_assist_client.zip_Aliyun_Assist_Client_阿里云_云助手_aliyun_assist_client.zip_Aliyun_Assist_Client_阿里云_云助手_aliyun_assist_client.zip_Aliyun_Assist...

    群晖docker阿里云动态域名解析1

    群晖docker阿里云动态域名解析chenhw2/aliyun-ddns-cli成功后在容器日志可以看到你的城市。

    aliyun-ddns-cli:ALiDDNS-[aliyun.com]的动态DNS CLI

    来源谢谢(包alidns) 码头工人用法$ docker pull chenhw2/aliyun-ddns-cli$ docker run -d \ -e " AKID=[ALIYUN's AccessKey-ID] " \ -e " AKSCT=[ALIYUN's AccessKey-Secret] " \ -e " DOMAIN=ddns.aliyun.win " \...

    aliyun-oss-go-sdk:适用于Go的Aliyun OSS SDK

    正在安装通过GitHub安装SDK 运行“ go get github.com/aliyun/aliyun-oss-go-sdk/oss”命令以获取远程代码包。 在代码中使用“ import“ github.com/aliyun/aliyun-oss-go-sdk/oss””引入OSS Go SDK软件包。入门...

    Ubuntu16.04更换下载源

    然而,由于地理位置、网络环境和服务器负载等因素,有时默认的官方软件源下载速度可能较慢,这会影响系统的更新和软件安装。在这种情况下,更换到更近、更快的第三方源,如阿里云镜像,可以显著提升下载速度。本文将...

    Win10的Linux子系统Ubuntu换源

    ### Win10的Linux子系统Ubuntu换源 #### 背景介绍 Windows 10引入了一个名为Windows Subsystem for Linux (WSL)的功能,它允许用户在无需虚拟机的情况下直接运行一个完整的Linux环境。这一功能极大地提高了开发...

    aliyun-java-sdk-dysmsapi-1.1.0.jar

    -- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-dysmsapi --> <groupId>com.aliyun</groupId> <artifactId>aliyun-java-sdk-dysmsapi</artifactId> <version>1.1.0</version> </...

    ubuntu阿里云源_ubuntu-aliyun-sources.zip

    ubuntu阿里云源_ubuntu-aliyun-sources

    pip清华源,国内常用镜像源 国内常用镜像源 1、临时使用 pip install xx ubuntu源 国内常用镜像源 清华大

    ubuntu源 国内常用镜像源 清华大学 :https://pypi.tuna.tsinghua.edu.cn/simple/ 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科学技术大学 :http://pypi.mirrors.ustc.edu.cn/simple/ 华中科技大学:...

    扩展了对阿里云 E-MapReduce 上 Spark/Hadoop 数据源的支持

    git clone https://github.com/aliyun/aliyun-emapreduce-datasources.git cd aliyun-emapreduce-datasources mvn clean package -DskipTests 使用 Spark3.2.0 构建 emr-maxcompute git clone ...

    aliyun-openapi-php-sdk.zip

    aliyun-openapi-php-sdk 是阿里云官方为 PHP 开发者提供的阿里云 Open API SDK。示例:include_once '../aliyun-php-sdk-core/Config.php'; use Ecs\Request\V20140526 as Ecs; $iClientProfile = Default...

    php使用aliyun-php-sdk-core发送阿里云短信验证码

    1、更新于2020年5月10日,测试可用,源码中的阿里云密钥、短信模板等需要根据自己实际情况填写! 2、php发送阿里云短信验证码源码,修改第一步中的相关参数后使用web.php即可在web上发送短信,post到...

    Laravel开发-laravel-aliyun-sts

    Laravel开发-laravel-aliyun-sts Aliyun STS代表Laravel 5

    Centos7部署本地局域网yum源

    六、更新 Yum 源仓库 createrepo /var/www/html/base/ createrepo /var/www/html/epel/ 七、验证本地 yum 源是否能正常使用 备份 repo 文件,编写 repo 文件,清除并生成缓存,检查 yum 源是否正常。 mkdir bak/...

    ubuntu 更新阿里源

    国内镜像使用阿里源,使用其他源只要稍微改下代码即可

    aliyun-cms-grafana

    aliyun-cms-grafana 2.0 服务端数据源安装使用说明文档 安装依赖 2.0 服务端版本需要 Grafana 版本 7+ 如果是旧版本 Grafana,只能安装 1.0 版本 https://github.com/aliyun/aliyun-cms-grafana/tree/v1.0 1、直接...

Global site tag (gtag.js) - Google Analytics