GitLab installation and deployment notes in Linux

Source: Internet
Author: User

GitLab installation and deployment notes in Linux
1. GitLab Introduction

Now, GitHub has become the preferred code hosting platform. Because of its many great functions and simple operations, almost all developers like it. Gitlab is a great Git hosting service that is almost as powerful as GitHub. Gitlab is generally used as an internal private system. If the company uses git distribution code, pull from github is very slow every time, and gitlab is much more convenient.

Ii. Installation

The installation instructions in the official documentation are as follows. For details, visit the gitlab official website.

1. Install Dependencies

  1. Sudo yum install curl openssh-server openssh-clients postfix cronie
  2. Sudo service postfix start
  3. Sudo chkconfig postfix on
  4. Sudo lokkit-s http-s ssh

2. Add the GitLab repository and install it on the server. (if the package is large and the network speed is low, you can download it on my FTP. Make sure that you select the corresponding version)

  1. Curl-sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
  2. Sudo yum install gitlab-ce

3. Configure and start. The following command will automatically configure and initialize gitlab

  1. Sudo gitlab-ctl reconfigure

4. Start and log on

The following is the default user name and password. You will be prompted to change the password upon first login:

  1. Username: root
  2. Password: 5 iveL! Fe

Then you can have fun!

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.