installation requirements:
> # yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel asciidoc
> # yum Install GCC Perl-extutils-Makemaker
uninstall Centos built-in git1.7.1:
check the version with git – version, Cento6.5 should come with git version 1.7.1
> # yum remove git
download git2.2.1 and add git to your environment variable
> Wget # https://github.com/git/git/archive/v2.2.1.tar.gz
> # tar ZXVF v2.2.1. Tar. Gz
> # CD git – 2.2.1
> # make configure
> # ./configure –prefix=/usr/local/git –with-iconv=/usr/local/libiconv
> # make all doc
> # make install install-doc install-html
> # echo “export PATH=$PATH:/usr/local/git/bin” > > /etc/bashrc
> # source /etc/bashrc
installation problem:
/bin/sh: line 1: xmlto: command not foundmake[1]: *** [git-add.1] Error 127
make[1]: Leaving directory `/root/src/git/Documentation’
make: *** [doc] Error 2
p> xmlto 4.2 installation
yum install xmlto
view version no
> # git –version
> The git version 2.2.1
div>
Read More:
- Resolve git clone error fatal: http request failed
- Git error: http request failed
- CentOS solves the problem of modulenotfounderror when salt calls python3 script remotely, and solves the problem that PIP3 module cannot be shared by different users
- git clone prompt error: RPC failed result=22, HTTP code = 404 problem
- Pull the git warehouse code IDEA reports an error: Clone failed: Authentication failed for’http://10.xx.XXXXXXXXXXXXXXXXX’
- php Error failed to open stream: HTTP request failed!
- Failed to open stream: http request failed!
- Centos8 solves the problem of “failed to set locale, defaulting to c.utf-8”
- The request failed with HTTP status 401: Unauthorized. SSRS 2008
- Springboot project: error parsing HTTP request header note: further occurrences of HTTP request parsing
- When local git connects to github: PTY allocation request failed on channel 0
- Condahttpererror: http 000 connection failed for URL problem in CONDA installation package
- git clone appears fatal: index-pack failed problem solution
- IIS “Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long.”
- Solve the problem of prompt “failed to sync branch” when using Git
- Git solves pull origin error: the following untracked working tree files would be rewritten by merge
- Solution: DevTools failed to load SourceMap:… net::ERR_HTTP_RESPONSE_CODE_FAILURE problem
- Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long
- Windows subsystem Ubuntu 18.04 solves SSH problem
- urlopen error unknown url type:httpë/HTTP Error 400:Bad Request