网址备注https://pastebin.mozilla.orgsrc:dpastehttps://dpaste.org/src:dpastehttps://paste.gnome.org/src:sticky-noteshttps://paste.centos.org/src:Stikkedhttps://www.pastebin.pl/src:Stikkedhttps://pastebin.osuosl.org/src:Stikkedhttps://0bin.net/src:0binhttps://paste.boxlabs.uk/src:phpastehttps://privatebin.netsrc:privatebinhttps://glot.io/src:glothttps://paste2.org/ https://www.paste.sh加密https://pastebinp.com/加密https://pastebin.fun/失效https://termbin.com/支持命令行https://pastebin.com/src:pastebinhttps://defuse.ca/pastebin.htm加密、回复https://paste.tim-wcx.ltd失效http://pastebin.ws/失效https://paste.ubuntu.com/需要登陆
https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-vscode-remote/vsextensions/remote-ssh/0.56.0/vspackagehttps://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-vscode-remote/vsextensions/remote-ssh-edit/0.56.0/vspackagecode --versionhttps://update.code.visualstudio.com/commit:e5a624b788d92b8d34d1392e4c4d9789406efe8f/server-linux-x64/stable
首先、安装netselect-aptapt update apt install netselect-apt -y然后切换到/etc/apt目录，运行命令获取最优镜像。cd /etc/apt netselect-apt apt update使用netslect-apt命令后，会在目录下面生产source.list，可以用它来代替目前使用的source.list，如果目录下面已经存在source.list，则会自动备份它们。root@ronpy:/etc/apt# netselect-apt Using distribution stable. Retrieving the list of mirrors from www.debian.org... URL transformed to HTTPS due to an HSTS policy --2020-10-16 02:46:20-- https://www.debian.org/mirror/mirrors_full Resolving www.debian.org (www.debian.org)... 128.31.0.62, 149.20.4.15, 130.89.148.77, ... Connecting to www.debian.org (www.debian.org)|128.31.0.62|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 168980 (165K) [text/html] Saving to: ‘/tmp/netselect-apt.hktGJQ’ /tmp/netselect-apt.hktGJQ 100%[========================================================================================================================================>] 165.02K 208KB/s in 0.8s 2020-10-16 02:46:22 (208 KB/s) - ‘/tmp/netselect-apt.hktGJQ’ saved [168980/168980] Choosing a main Debian mirror using netselect. netselect: 354 (23 active) nameserver request(s)... Duplicate address 150.203.164.37 (http://mirror.linux.org.au/debian/, http://ftp.au.debian.org/debian/); keeping only under first name. netselect: 351 (24 active) nameserver request(s)... Duplicate address 195.234.45.114 (http://ftp.be.debian.org/debian/, http://mirror.as35701.net/debian/); keeping only under first name. netselect: 8 (8 active) nameserver request(s)..... Duplicate address 208.80.154.15 (http://208.80.154.15/debian/, http://mirrors.wikimedia.org/debian/); keeping only under first name. netselect: 3 (3 active) nameserver request(s)... Duplicate address 213.129.232.18 (http://debian.sil.at/debian/, http://ftp.si.debian.org/debian/); keeping only under first name. Running netselect to choose 10 out of 350 addresses. ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ The fastest 10 servers seem to be: http://ftp2.cn.debian.org/debian/ http://mirror.rise.ph/debian/ http://mirror.i3d.net/debian/ http://ftp.ntou.edu.tw/debian/ http://ftp.tku.edu.tw/debian/ http://mirror.0x.sg/debian/ http://ftp.debianclub.org/debian/ http://mirrors.ustc.edu.cn/debian/ http://mirror.pregi.net/debian/ http://debian.xtdv.net/debian/ Of the hosts tested we choose the fastest valid for HTTP: http://ftp2.cn.debian.org/debian/ Writing sources.list. sources.list exists, moving to sources.list.1602830807 Done.
fastgit.orghttps://doc.fastgit.org/https://hub.fastgit.org/https://raw.fastgit.org/https://download.fastgit.org/cnpmjs.orghttps://github.com.cnpmjs.org/gitclone.comhttps://gitclone.com/gitee.comhttps://gitee.com/mirrorsgit clone 加速git clone https://github.com/cranberrys/cranberrys.git git clone https://hub.fastgit.org/cranberrys/cranberrys.git git clone https://github.com.cnpmjs.org/cranberrys/cranberrys.git git clone https://gitclone.com/github.com/cranberrys/cranberrys.git通过设置实现URL自动替换git config --global url."https://github.com/".insteadOf https://github.com.cnpmjs.org/ git clone https://github.com/cranberrys/cranberrys.gitgit releases 加速wget https://github.com/cranberrys/cranberrys/releases/download/v0.0.1/cranberrys-v0.0.1.tgz wget https://download.fastgit.org/cranberrys/cranberrys/releases/download/v0.0.1/cranberrys-v0.0.1.tgzgit codeload archive 加速wget https://codeload.github.com/cranberrys/cranberrys/zip/master wget https://github.com/cranberrys/cranberrys/archive/master.zip wget https://download.fastgit.org/cranberrys/cranberrys/archive/master.zipgit raw 加速wget https://github.com/cranberrys/cranberrys/raw/master/requirements.txt wget https://hub.fastgit.org/cranberrys/cranberrys/raw/master/requirements.txt wget https://raw.githubusercontent.com/cranberrys/cranberrys/master/requirements.txt wget https://raw.fastgit.org/cranberrys/cranberrys/master/requirements.txt
sudo sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.listubuntu-portssudo sed -i 's/ports.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list