各种镜像源加速

慢是不能够被接受的

阿里云镜像站

https://developer.aliyun.com/mirror/

python pip源

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# python3 编译安装依赖
yum install zlib-devel libffi-devel openssl-devel

## https://pip.pypa.io/en/stable/user_guide/#config-file
# 全局生效
# Like-Unix(Linux)
vim /etc/pip.conf
# macOS
vim /Library/Application Support/pip/pip.conf
# Windows
notepad C:\ProgramData\pip\pip.ini
# https://developer.aliyun.com/mirror/pypi
## 阿里云源
[global]
index-url = https://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com

Go proxy

1
2
3
4
5
6
7
## Go 1.13 及以上(推荐)
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
# https://goproxy.io/zh/
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.io,direct
# go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct/

NodeJS npm源

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
npm config set registry https://registry.npm.taobao.org
###
npm config set <key> <value>
npm config get [<key>]
npm config delete <key>
npm config list [--json]
npm config edit
npm set <key> <value>
npm get [<key>]


### yarn
npm install yarn -g
yarn config set registry https://registry.npm.taobao.org/
yarn config get registry
yarn install

各种镜像源加速
https://www.boer.xyz/2018/02/16/mirror-speed/
作者
boer
发布于
2018年2月16日
许可协议