各种中国镜像
来源:互联网 发布:c语言abs函数不存在 编辑:程序博客网 时间:2024/04/30 07:32
npm:
npm config set registry https://registry.npm.taobao.orgref: https://segmentfault.com/a/1190000002576600
composer:
composer config -g repo.packagist composer https://packagist.phpcomposer.comref: https://pkg.phpcomposer.com/
ubuntu apt:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bksudo vi /etc/apt/sources.list:1,$ddeb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse:wq
ref: delete all lines = ":1,%d" https://unix.stackexchange.com/questions/161821/how-can-i-delete-all-lines-in-a-file-using-vi
ref: http://www.cnblogs.com/iamhenanese/p/5514111.html
homebrew: 清华的那个不好用了
https://lug.ustc.edu.cn/wiki/mirrors/help/brew.git
docker: 阿里云的镜像,需要阿里云用户。
https://cr.console.aliyun.com/#/accelerator
docker镜像内的debian,如果需要apt install的话,最好也用国内镜像,不然慢死
#Make a backup copy of your current sources.list fileRUN cp /etc/apt/sources.list /etc/apt/sources.list.bak# chinese mirrorRUN echo "deb http://mirrors.ustc.edu.cn/debian/ jessie main non-free contrib" | tee -a /etc/apt/sources.listRUN echo "deb-src http://mirrors.ustc.edu.cn/debian/ jessie main non-free contrib" | tee -a /etc/apt/sources.listRUN echo "deb http://mirrors.ustc.edu.cn/debian/ jessie-proposed-updates main non-free contrib" | tee -a /etc/apt/sources.listRUN echo "deb-src http://mirrors.ustc.edu.cn/debian/ jessie-proposed-updates main non-free contrib" | tee -a /etc/apt/sources.list
TBC
阅读全文
0 0
- 各种中国镜像
- maven2中国镜像
- Composer 中国镜像
- Composer 中国镜像
- apache中国镜像
- Maven中国镜像
- Composer中国镜像
- Maven中国镜像
- RPM中国镜像
- composer中国镜像
- Anaconda中国镜像
- composer各种镜像
- maven central中国镜像
- rubygems 中国镜像,,,悲哀
- qtsdk仓库中国镜像
- composer配置中国镜像
- Composer切换中国镜像
- 使用 composer 中国镜像
- 【C#】点到线段最短距离的那条直线与线段的交点
- 基本shell命令学习
- Lintcode135 Combination Sum solution 题解
- Java里的堆(heap)栈(stack)和方法区(method)(精华帖,多读读)
- 3 种 web 会话管理的方式
- 各种中国镜像
- 2017云栖大会开源峰会预告
- quartz 中JobExecutionContext的使用
- Oracle中生成随机数方法
- tensorflow 除法
- win10音频问题
- Spring源码分析IOC实现一BeanFactory
- 指数分布
- 单向加密——使用java加密Base64算法