`
sanyecao2314
  • 浏览: 131483 次
  • 性别: 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-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> </...

    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软件包。入门...

    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-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...

    Laravel中使用阿里云OSS Composer包分享

    阿里云提供了基于命名空间的 V2 版 SDK,但是文档不是很完整,使用门槛比较高,于是我封装了一个 Composer 包...use JohnLui\AliyunOSS\AliyunOSS; // 构建 OSSClient 对象 // 三个参数:服务器地址、阿里云提供的Acc

    Laravel开发-laravel-aliyun-sts

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

    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、直接...

    aliyun-sdk-oss-3.10.2.jar

    aliyun-sdk-oss-3.10.2.jar,免费下载

    Laravel开发-aliyun-sls-laravel

    Laravel开发-aliyun-sls-laravel AlaveL5包中的Aliyun Simple Log Service(SLS)SDK。

    alibaba-cloud-sdk-go:用于Go的阿里云SDK

    提供OpenAPI诊断服务,以帮助开发人员快速定位并通过RequestID或error message为开发人员提供解决方案。 在线演示 提供了在线调用云产品OpenAPI的能力,并动态生成SDK Example代码和快速检索界面,从而可以大大降低...

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

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

    aliyun-oss-php-sdk-laravel:适用于PHP的AliCloud OSS SDK的Laravel服务提供商

    Laravel 5的AliCloud OSS服务提供商 ...编辑供应商/aliyun-oss/aliyun-oss-php-sdk-laravel/config/config.php文件,如下所示: return [ 'id' => 'your id', 'key' => 'your key', 'endpoint' => 'your

    aliyun-ddns:阿里云动态域名工具,支持docker和ipv6

    </ s> </ s> </ s> 功能通过在线API获取公网IPv4 / v6地址,更新到域名A / AAAA记录。通过本地网卡获取公网或内网IPv4 / v6地址,更新到域名A / AAAA记录。支持更新多个域名的记录。支持更新指定线路的记录。支持...

    aliyun-oss-laravel:打造Laravel最好的OSS存储扩展

    可以在你的项目根目录运行: $ composer require alphasnow/aliyun-oss-laravel或者在你的composer.json中声明依赖: "require": { "alphasnow/aliyun-oss-laravel": "~2.0" }修改环境文件.env ALIYUN_OSS_ACCESS_ID...

    给域名动态解析IP地址--阿里云|name.com

    我们私有的IP,是运营商动态分配的。想域名解析的童鞋,就需要动态解析下了。。 1.阿里云,就是万网买的域名,阿里云有api可以动态更新的 ...阿里云GitHub地址:https://github.com/aliyun/aliyun-openapi-java-sdk

    Laravel开发-aliyun-direct-mail

    Laravel开发-aliyun-direct-mail 阿里云邮件推送Aliyun Direct mail for Laravel 5

    aliyun-java-vod-upload-1.4.13.jar

    aliyun-java-vod-upload-1.4.13.jar

    terraform-provider-alicloud_1.95.0_linux_amd64.zip

    terraform-provider-alicloud_1.95.0_linux_amd64.zip

Global site tag (gtag.js) - Google Analytics