日常使用遇到下载速度慢,我的一些解决办法
Tofloor
poster avatar
houyawei
deepin
2020-08-27 20:46
Author
各位想看图片可以直接下这个PDF,不想在这里 排版了

第一类    github相关(使用git clone速度慢,下载github上的release包速度慢)
1. 安装chrome的油猴插件

2. 安装github镜像加速脚本

3. 使用
(1) git clone 新的镜像的地址
(2) releases包直接快速下载

另一种 git设置代理
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
或者
git config --global https.proxy http://127.0.0.1:1080
git config --global https.proxy https://127.0.0.1:1080
端口号1080VPN设置的代理端口,可自行修改为自己的VPN代理端口
取消git代理设置:
git config --global --unset http.proxy
git config --global --unset https.proxy

还有一种就是到gitee,码云镜像仓库下载https://gitee.com/

第二类 适合下载安装包,压缩包,镜像,脚本里面的包速度慢
1. 在浏览器或者脚本里面复制下载链接
1. 链接复制到下载站等待下载(https://d.serctl.com/
1. 安装包,压缩包,镜像下载完成。脚本需要注释掉下载部分或者放入对应位置,重新执行。

第三类 树莓派使用apt install ,安装源内的程序速度慢
2.Debian系一定要注意源内的版本号与替换之前的默认版本号是否一致。
例如8[jessie]9系 [stretch] 10系[buster]

Reply Favorite View the author
All Replies
avatar
jingle
deepin
2020-08-28 02:13
#1
谢谢分享
Reply View the author