Home  >  Article  >  Development Tools  >  How to use centos to build a Git distributed management control system

How to use centos to build a Git distributed management control system

醉折花枝作酒筹
醉折花枝作酒筹forward
2021-07-14 16:28:261552browse

Git is an open source distributed version control system, used to effectively and quickly handle version management of projects from small to very large. Today, the editor will introduce it to you. You can refer to it if you need it.

How to use centos to build a Git distributed management control system

Installation steps:

Operating system: centos 5.5

Install GIT dependencies Package

  • 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

# cd curl-7.17.1

# ./configure --prefix=/usr/local/curl

# make

# make install

Modify ld.so.conf 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

************ ***************************Installation ok

Test:

Terminal input#git

How to use centos to build a Git distributed management control system

The relevant parameters and instructions are still very complete

Using and building version control:

You can refer to:

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

Recommended (free):Git

The above is the detailed content of How to use centos to build a Git distributed management control system. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete