Git server-gitlab Build

Source: Internet
Author: User
Tags ssh access version control system

1, very simple, according to the official document operation can

https://about.gitlab.com/installation/#centos-6

Note:  

    Gogs is a lightweight, easy-to-set, cross-platform git hosting service that is not inferior to Gitlab and GitHub. Although it is no more mature than the two, it has great potential.

one of the Gitlab-ce and Gitlab-ee is the Community edition, and one is the Enterprise Edition.

    Git is a version control system, a command, and a tool.

 GitHub is a repository of online code hosting based on Git, open to the Internet, and the Enterprise Edition to collect money.
Gitlab is similar to GitHub, and is commonly used to build a git intranet in your organization.
Gitee is the code cloud, is Oschina free for enterprises to use, do not build their own environment.
Git-ce is the Community edition, Gitlab-ee is the Enterprise Edition, Pay edition.

GitHub, GitLab different points:
1, GitHub If you use a private warehouse, you need to pay, Gitlab can build a private free warehouse.
2. Gitlab allows the development team to have more control over their code repositories, which has a number of features relative to GitHub:
(1) Allow free set of warehouse permissions
(2) Allow users to choose to share part of a project's code
(3) Allow users to set project access to further enhance security
(4) can set up to get to the team overall improvement progress
(5) To allow people not within the scope of access to the resource by innersourcing

  

  After successful installation, there will be: (I am a root user rights installed)

    

  Start and initialize the time, may not be successful, report create user and user group issues, here, I want to appear, first I was to create a new system user, followed by a git user before, but prompted the conflict, so Userdel git. Re-configure the file, change the user to the system user you created, and then reboot.

  

Post-boot interface:

  

1 Install and configure the necessary dependencies on the CentOS6 (and Redhat/oracle/scientific Linux 6), the following command will also open HTTP and SSH access in the system firewall. sudo yum install-Y Curl Policycoreutils-python openssh-Server Croniesudo Lokkit-S HTTP-s ssh Next, install postfix to send notification email. If you want to send e-mail using a different solution, skip this step and configure the external SMTP server after you install Gitlab. sudo yum install Postfixsudo service postfix Startsudo chkconfig postfix on during postfix installation, the configuration screen may appear. Select Internet Site and press the ENTER key. Use the server's external DNS as the message name, and then press ENTER. If another screen appears, continue pressing the ENTER key to accept the default value. 2 Add the Gitlab package repository and install the package to add Gitlab package repositories. Curl https:packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh |sudo bash Next, install the Gitlab package. Will ' http://gitlab.example.com ' change to the URL of the Gitlab instance that you want to access. The installation will automatically configure and start the Gitlab of the URL. HTTPS requires additional configuration after installation. sudo external_url= "http://gitlab.example.com" yum-y install Gitlab-ee

Git server-gitlab Build

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.