Want to learn from git above clone Something , A lot of ladders have been out of use recently . Found that the download speed is very slow ：
[root@VM_0_3_centos projects]# git clone
email@example.com:google/earthenterprise.git Cloning into 'earthenterprise'...
Warning: Permanently added the RSA host key for IP address '18.104.22.168' to
the list of known hosts. remote: Enumerating objects: 11, done. remote:
Counting objects: 100% (11/11), done. remote: Compressing objects: 100%
(11/11), done. ^CKilled by signal 2.8% (2907/15570), 69.48 MiB | 8.00 KiB/s s s
8kb Speed per second , I don't know when to download . Can be set by github.global.ssl.fastly.net Of ip, modify DNS To increase speed .
Use first nslookup View the ip
[root@VM_0_3_centos projects]# nslookup github.global.ssl.fastly.net Server:
22.214.171.124 Address: 126.96.36.199#53 Non-authoritative answer: Name:
github.global.ssl.fastly.net Address: 188.8.131.52 [root@VM_0_3_centos
projects]# nslookup github.com Server: 184.108.40.206 Address: 220.127.116.11#53
Non-authoritative answer: Name: github.com Address: 18.104.22.168
modify host, Add the following code ：
22.214.171.124 github.global.ssl.fastly.net 126.96.36.199 github.com
Refresh network settings
[root@VM_0_3_centos projects]# sudo /etc/init.d/network restart Restarting
network (via systemctl): [ OK ]
Then I found that the download speed has been greatly improved . Has been promoted to 150k, There is still some effect .