
镜像(加速源)收集
Nuget
Python Pypi
>vi ~/.pip/pip.conf >[global] >index-url = http://pypi.v2ex.com/simple >[install] >trusted-host=pypi.v2ex.com >:wq >``` ## NPM >``` >vi ~/.npmrc > >registry = https://registry.npm.taobao.org >``` >From [淘宝NPM镜像](https://npm.taobao.org/) ## Ubuntu > [163镜像](http://mirrors.163.com/.help/ubuntu.html) ## Openwrt > [http://openwrt.proxy.ustclug.org/](http://openwrt.proxy.ustclug.org/) ## Homebrew > >> [http://homebrew-mirror-china.tycdn.net/](http://homebrew-mirror-china.tycdn.net/) >> `export HOMEBREW_BOTTLE_DOMAIN="http://homebrew-mirror-china.tycdn.net"` >---- >> [https://lug.ustc.edu.cn/wiki/mirrors/help/brew.git](https://lug.ustc.edu.cn/wiki/mirrors/help/brew.git) > ```bash cd "$(brew --repo)" git remote set-url origin git://mirrors.ustc.edu.cn/brew.git
https://lug.ustc.edu.cn/wiki/mirrors/help/homebrew-bottles
# 对于bash用户: echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.bash_profile source ~/.bash_profile # 对于zsh用户 echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.zshrc source ~/.zshrc