ubuntu12.04,
终端下输入:
sudo sysctl -w net.ipv4.tcp_window_scaling=0
refs:
http://stackoverflow.com/questions/2091474/repo-sync-problem
not work,
//------------------
update git
1)download
git clone https://github.com/git
checkout 相应tag,此时最新1.8.3.5。
2)编译依赖
2.1)install ssl-dev
sudo apt-get install libssl-dev
2.2)install curl.h
sudo apt-get install libcurl4-gnutls-dev
2.3)
libexpat1-dev
2.4)
apt-get install gettext asciidoc
3)follow INSTALL
make prefix=/usr all doc info
//--------------------------------
最终fix 是把https改成http。
但记得之前是反过来改的,搞不懂了。
refs:
http://blog.csdn.net/mengxiangbaidu/article/details/8239557