Build a Git Distributed management and control system on centos

Source: Internet
Author: User
Tags install perl
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.

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.