Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use centos to build Git distributed Management and Control system

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article introduces the relevant knowledge of "how to use centos to build Git distributed management and control system". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Git is an open source distributed version control system for efficient and high-speed version management of projects ranging from very small to very large. Today, the editor will introduce it to you. If you need it, you can refer to it.

Installation steps:

Operating system: centos 5.5

Install packages that GIT depends on

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

# 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

* * install ok

Test:

Terminal input # git related parameters and instructions are still very complete.

Use and build version control:

Please 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

This is the end of the introduction of "how to use centos to build a Git distributed management and control system". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report