GIT environment setup

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.