linux 安装后

docker

https://cr.console.aliyun.com/#/accelerator

pecl install xdebug

xdebug.remote_enable = on

php laravel

http://pkg.phpcomposer.com/

composer config -g repo.packagist composer https://packagist.phpcomposer.com

python

vi ~/.pip/pip.conf

 [global]
 trusted-host =  mirrors.aliyun.com
 index-url = http://mirrors.aliyun.com/pypi/simple
[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host = pypi.douban.com
 

https://github.com/yyuu/pyenv-installer

https://github.com/yyuu/pyenv/wiki/Common-build-problems

ruby

curl https://raw.githubusercontent.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash
http://gems.ruby-china.org/
gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/’
bundle config mirror.https://rubygems.org https://gems.ruby-china.org
 
node
https://github.com/creationix/nvm
export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node

nvm install node

https://npm.taobao.org/
npm install -g cnpm --registry=https://registry.npm.taobao.org
set "NVMW_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node"
set "NVMW_NPMJS_COM_MIRROR=https://npm.taobao.org/mirrors/npm"
 
npm config set registry https://registry.npm.taobao.org
yarn config set registry https://registry.npm.taobao.org

内网dns

https://www.server-world.info/en/note?os=Ubuntu_16.04&p=dnsmasq

原文地址:https://www.cnblogs.com/anjunact/p/6033201.html