Server-side:
Git install:
# Rpm-qa | grep zlib-devel
If not installed, we will install these dependent packages first
# yum-y Install zlib-devel openssl-devel perl cpio expat-devel Gettext-devel
# yum Install Curl-devel
# yum Install autoconf
Download git install package: https://www.kernel.org/pub/software/scm/git/
Copy the installation package under/opt/git/gitinstall and unzip the
# cd/opt/git/gitinstall/git-2.5.0
# autoconf
#./configure--with-curl=/opt/git
# make
# make Install
Git–version
Gitlab Installation:
#sudo Yum Install Openssh-server
#sudo Yum Install Postfix
#sudo service Postfix start
#sudo chkconfig postfix on
#sudo rpm-igitlab-7.2.1_omnibus-1.el6.x86_64.rpm
#sudo-e/etc/gitlab/gitlab.rb Add Host domain name
#sudo Gitlab-ctl Reconfigure
#sudo lokkit-s http-s SSH
Username:root
Password:5ivel!fe default Password
Client:
Linux system: Yum install git
Add the IP address and domain name of the server to the client's/etc/hosts file
GIT environment setup