Introduction:
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
# 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
/Sbin/ldconfig
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
:
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
Or download the GIT build document.
This article is based on the signature-non-commercial use
3.0 release of the license agreement. You are welcome to repost and interpret it. However, the signature of this article, PHP Huaibei (including links), must be retained and cannot be used for commercial purposes. If you have any questions or negotiation with the Authority, please contact me.
Introduction:
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
# 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
/Sbin/ldconfig
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
:
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
Or download the GIT build document.