ubuntu get-apt 加速
创建 aptupdate.sh 脚本,内容为: #!/bin/bash mv /etc/apt/sources.list /etc/apt/sources.list.bak Codename=$( (lsb_release -a)|awk '{print $2}'|tail -n 1 ) echo "\ #deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties deb http://mirrors.aliyun.com/ubuntu/ xenial universe deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties deb http://archive.canonical.com/ubuntu xenial partner deb-src http://archive.canonical.com/ubuntu xenial partner deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse ">/etc/apt/sources.list apt-get update
github pull 加速
利用 https://www.ipaddress.com/ 查出 github.com , assets-cdn.github.com github.global.ssl.fastly.net github.githubassets.com 的 ip地址 修改 linux /etc/hosts windws: c:/xxx/xxx/xxx/hosts 2019.8.21 修改如下 192.30.253.112 github.com #192.30.253.113 185.199.108.153 assets-cdn.github.com ##109 110 151.101.185.194 github.global.ssl.fastly.net 185.199.108.154 github.githubassets.com
docker pull
修改 /etc/docker/daemon.json 内容为 { "registry-mirrors": ["https://registry.docker-cn.com"] } 或者网易 http://hub-mirror.c.163.com 或阿里 https://xxxxxx.mirror.aliyuncs.com ( https://6uaxjis.mirror.aliyuncs.com 错误的,勿用 ) xxxx 不同阿里云用户,不同 z+ "registry-mirrors": ["https://z6uaxjis.mirror.aliyuncs.com"]
sudo systemctl daemon-reload sudo systemctl restart docker
helm repo
#个人的,托管在阿里云的 18年11月份后不再更新 aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts #阿里云apphub apphub https://apphub.aliyuncs.com/
pip 加速
https://www.cnblogs.com/schut/p/10410087.html
pip install -i http://pypi.douban.com/simple/ numpy 清华大学:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 豆瓣:http://pypi.douban.com/simple/
这里是一些无用的信息, 因为发帖需要满足 150 个字。
我这里留些什么好呢???? 给自己吹吹牛吧
会go c c++ python node.js delphi 略懂java .net
会oracle mongo redis 略懂 mysql sqlserver
会docker 会 k8s exsi
还会 word excel ppt project viso
厉害,厉害 !!!
————————————————————————
让科技和智能使人更便捷 --- 从我做起
————————————————————————