[Stick to the top] Build a git Distributed Management and Control System Using centos

Source: Internet
Author: User
Tags install openssl install perl version control system

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

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 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

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 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.