首页 > 其他 > 详细

CentOS6 搭建git

时间:2015-05-01 16:01:34      阅读:208      评论:0      收藏:0      [点我收藏+]

rpm -qa | grep zlib-devel  查看是否安装过

-----------------------------------------------------------------------------------------------

yum -y install zlib-devel openssl-devel perl cpio expat-devel gettext-devel
yum install curl-devel
yum install autoconf
wget <a href="http://git-core.googlecode.com/files/git-1.8.3.2.tar.gz">http://git-core.googlecode.com/files/git-1.8.3.2.tar.gz</a>
chmod +x git-1.8.3.2.tar.gz
tar xzvf git-1.8.3.2.tar.gz
cd git-1.8.3.2
autoconf
./configure --with-curl=/opt/git
make
make install

-----------------------------------------------------------------------------------------------

yum -y install git   安装git

-----------------------------------------------------------------------------------------------

git version   安装成功后查看git版本

CentOS6 搭建git

原文:http://www.cnblogs.com/cedrica/p/4470708.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!