如何使用centos搭建Git分布式管理控制系统
2022-11-27 21:09:48
201
{{single.collect_count}}
Git是一个开源的分布式版本控制系统,用以有效、高速的处理从很小到非常大的项目版本管理。今天小编就来和大家介绍一下,有需要的可以参考一下。

Git版本控制工具:进入学习

安装步骤:

操作系统:centos 5.5

安装GIT依赖的包

  • 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

安装curl

安装cURL

# wget http://curl.haxx.se/download/curl-7.17.1.tar.gz

# tar zxvf curl-7.17.1.tar.gz//解压

#cd curl-7.17.1

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

# make

# make install

修改ld.so.conf 添加/usr/local/lib

vi /etc/ld.so.conf 添加/usr/local/lib

运行idconfig

/sbin/ldconfig

安装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

*************************************安装ok

测试:

终端输入#git

wps_clip_image-15949

相关参数和说明还是很全的

使用和搭建版本控制:

可以参考:

http://blog.haohtml.com/wp-content/uploads/2011/04/git-tut.pdf

http://www.linuxsir.org/main/doc/git/gittutorcn.htm

或者下载《git搭建》文档

推荐(免费):Git

以上就是如何使用centos搭建Git分布式管理控制系统的详细内容,更多请关注php中文网其它相关文章!

回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}