Gitlab Installation Operating Instructions

Source: Internet
Author: User

First, Gitlab installation operation procedure

    1. Login official website https://about.gitlab.com/downloads/According to the system version you need, the author uses centos6,
    2. Check to see if your server meets hardware requirements. The Gitlab package is designed for 64-bit systems. 32-bit operating system, consider the different installation methods.
    3. Install and configure the necessary dependencies

# sudo yum install curl openssh-server openssh-clients postfix Cronie

# sudo service postfix start

# sudo chkconfig postfix on

# sudo lokkit–s http–s ssh

    1. Add Gitlab Package Server installation package

# CURL-SS Https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash

# sudo yum install Gitlab-ce

    1. Yum Error encountered: Cannot retrieve repository metadata (Repomd.xml) for repository what to do

# yum Clean all, then

New /etc/yum.repos.d/gitlab-ce.repo , content is

[Gitlab-ce]

Name=gitlab-ce

Baseurl=http://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6

Repo_gpgcheck=0

Gpgcheck=0

Enabled=1

Gpgkey=https://packages.gitlab.com/gpg.key

In the execution

# sudo yum

# sudo yum install Gitlab-ce

    1. Configure and start Gitlab

sudo gitlab-ctl reconfigure

    1. Browse to host name and login

In your first open browser enter your server IP address 192.168.0.200 access, you will be redirected to a password reset screen to provide the password for the initial administrator account. Enter the password you want and you will be redirected back to the login screen.

The user name for the default account is "root". Provide the password that you created and the password for the login. After you sign in, you can change the user name.

Gitlab Installation Operating Instructions

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.