npm

1
npm config set registry https://registry.npmmirror.com

nvm

1
2
node_mirror: https://npmmirror.com/mirrors/node/
npm_mirror: https://npmmirror.com/mirrors/npm/

python

1
pip install  -i https://pypi.tuna.tsinghua.edu.cn/simple some-package

kali

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
中科大 
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

阿里云
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

清华大学
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

说明:deb代表软件的位置,deb-src代表软件的源代码位置

配置kali apt为阿里源实例:
配置思路方法 修改 /etc/apt/sources.list,加入以下内容将相关url改成阿里云的源。

deb https://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src https://mirrors.aliyun.com/kali kali-rolling main non-free contrib