解决 git clone 报错 fatal: HTTP request failed 问题 及 升级后ssl 问题
yum remove -y git
yum install curl curl-devel zlib-devel openssl-devel perl cpio expat-devel gettext-devel -y
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.xz
xz -d git-latest.tar.xz
tar xvf git-latest.tar
cd git-xxxx-xx-xx
autoconf
./configure && make && make install
升级了git版本后git clone报ssl错误的解决方法
由于升级了git版本,git clone 的时候报了如下的错误
[root@node1 git-2018-12-20]# git clone https://github.com/apache/flink.git
Cloning into 'flink'...
fatal: unable to access 'https://github.com/apache/flink.git/': SSL connect error
百度了好久,试了好多方法,最后google到了解决方法,特记录下
解决方法
yum update -y nss curl libcurl