1. 程式人生 > >Centos 6.5搭建git服務器

Centos 6.5搭建git服務器

ref yum local 5.0 https figure kernel usr tar

安裝依賴

yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-devel -y

Git安裝

wget https://www.kernel.org/pub/software/scm/git/git-2.5.0.tar.gz
tar zxvf git-2.5.0.tar.gz
cd git-2.5.0
./configure --prefix=/usr/local/git
make && make install
ln -s /usr/local/git/bin/* /usr/bin/
git --version

Centos 6.5搭建git服務器