Home > Development Tools > git > body text

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

醉折花枝作酒筹
Release: 2021-07-14 16:28:26
forward
1572 people have browsed it

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!

Related labels:
git
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template