注意事项 不支持Arm架构电脑
apt update && apt install apt-transport-https ca-certificates |
export https_proxy=http://192.168.0.188:33007 http_proxy=http://192.168.0.188:33007 all_proxy=socks5://192.168.0.188:33006 |
wget http://ftp.barfooze.de/pub/sabotage/tarballs/proxychains-ng-4.14.tar.xz |
debian
阿里源
debian 7.x (wheezy)
echo -e "deb http://mirrors.aliyun.com/debian/ wheezy main non-free contrib \ |
debian 8.x (jessie)
echo -e "deb http://mirrors.aliyun.com/debian/ jessie main non-free contrib \ |
debian 9.x (stretch)
echo -e "deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib \ |
清华源
echo -e "deb https://mirrors.tuna.tsinghua.edu.cn/debian/ jessie main contrib non-free \ |
163
echo -e "deb http://mirrors.163.com/debian/ jessie main non-free contrib \ |
ubuntu
mv /etc/apt/sources.list /etc/apt/sources.list.bak |
Ubuntu 14.04.5 LTS
echo -e "deb https://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse \ |
ubuntu 16.04
echo -e "deb http://mirrors.aliyun.com/ubuntu/ xenial main \ |
ubuntu 18.04(bionic)
echo -e "deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse \ |
ubuntu 20.04(focal)
echo -e "deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse \ |
Kali
echo -e "deb https://mirrors.aliyun.com/kali kali-rolling main non-free contrib |
Python
mkdir ~/.pip |
[global] |
or
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ |
Centos
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup |
CentOS 8
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo |
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo |
Centos 7
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo |
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo |
Centos 6
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-6.repo |
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-6.repo |
Npm
alias cnpm="npm --registry https://registry.npm.taobao.org $@" |
npm --registry https://registry.npm.taobao.org %* |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 XR-SEC!
评论
WalineValine