Git is an open-source distributed version control system for efficient and high-speed processing of Project version management from very small to very large. Installation steps: Operating system: centos5.5 install the GIT dependent package yuminstallzlib-develyuminstallopenssl-develyuminstall...
Git is an open-source distributed version control system for efficient and high-speed processing of Project version management from very small to very large.
Installation steps:
Operating system: centos 5.5
Install GIT dependent packages
Yum install zlib-devel
Yum install openssl-devel
Yum install perl
Yum install cpio
Yum install expat-devel
Yum install gettext-devel
Yum install autoconf
Install curl
Install cURL
# Wget http://curl.haxx.se/download/curl-7.17.1.tar.gz
# Tar zxvf curl-7.17.1.tar.gz // Unzip
# Cdcurl-7.17.1
#./Configure -- prefix =/usr/local/curl
# Make
# Make install
Modify ld. so. conf to add/usr/local/lib.
Vi/etc/ld. so. conf add/usr/local/lib
Run idconfig
/Sbin/ldconfig
Install Git
Wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
Tar xzvf git-latest.tar.gz
Cd git-2011-10-08
Autoconf
./Configure -- with-curl =/usr/local/curl
Make
Make install
* *********************************** Install OK
Test: www.2cto.com
Terminal input # git
Relevant parameters and descriptions are still comprehensive.
Use and build version control:
Refer:
Http://blog.haohtml.com/wp-content/uploads/2011/04/git-tut.pdf
Http://www.linuxsir.org/main/doc/git/gittutorcn.htm
Bytes
Or download the git build document.