Home > Article > Development Tools > How to use centos to build a Git distributed management control system
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.
Installation steps:
Operating system: centos 5.5
Install GIT dependencies Package
yum install zlib-devel
yum install openssl-devel
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 installModify ld.so.conf Add /usr/local/lib
vi /etc/ld.so.conf Add /usr/local/libRun idconfig
/sbin/ldconfigInstall Git
wget http://www.codemonkey.org.uk/projects/git -snapshots/git/git-latest.tar.gztar xzvf git-latest.tar.gz cd git-2011-10-08autoconf./configure --with-curl=/usr/local/curl make make install************ ***************************Installation okTest:Terminal input#gitThe 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.pdfhttp://www.linuxsir.org/main/doc/git/ gittutorcn.htmOr download the "git build" document
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!