开发者

MYSQL的主从复制知识点整理

开发者 https://www.devze.com 2020-01-10 09:00 出处:网络 作者: ningjiabing
在本篇文章里小编给大家整理的是一篇关于MYSQL主从复制的相关知识点内容,有需要的朋友们参考学习下。

问题背景:下载eos代码报错

git clone https://github.com/eosio/eos --recursive
[root@localhost bigdata]# git clone https://github.com/EOSIO/eos --recursive
Initialized empty Git repository in /bigdata/eos/.git/
error: while accessing https://github.com/EOSIO/eos/info/refs

fatal: HTTP request failed

MYSQL的主从复制知识点整理

问题解决:升级 git client 版本

git --version    #git version 1.7.1版本过低无法正常下载

版本升级: 安装 依赖

yum install -y curl curl-devel zlib-devel openssl-devel perl cpio expat-devel gettext-devel

版本编译并安装

wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.xzxz -d git-latest.tar.xztar xvf git-latest.tarcd git-xxxx-xx-xxautoconf./configuremakemake install

添加变量并生效

echo "export PATH=$PATH:/usr/local/bin/git" >> /etc/bashrc

source /etc/bashrc

已是最新版本

[root@master bigdata]# git --version
git version 2.18.0-rc1

重新下载

git clone https://github.com/eosio/eos --recursive

再次报错:SSL connect error

Cloning into 'eos'...

fatal: unable to access 'https://github.com/eosio/eos/': SSL connect error

MYSQL的主从复制知识点整理

解决方法:

git config --global http.sslversion tlsv1

问题全部解决

git clone https://github.com/eosio/eos --recursive

MYSQL的主从复制知识点整理

0

精彩评论

暂无评论...
验证码 换一张
取 消