Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The whole process of building gitlab under linux

Shulou Source: shulou.com Published: 2022-06-02 04:37:13 10月04日 Update

This article mainly explains the whole process of building gitlab under linux. The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn the whole process of building gitlab under linux.

Gitlab building

Home page: https://about.gitlab.com/

Installation instructions: https://about.gitlab.com/installation/

Preparation actions: gitlab installation package, lokkit command installation, Linux environment, networking

1. Install lokkit yum-y install lokkit

two。 Upload the installation package to opt

3. Extract the gitlab installation package

Rpm-ivh / opt/gitlab-ce-10.8.2-ce.0.el7.x86_64.rpm

4. Execute the command in turn

Yum install-y curl policycoreutils-python openssh-server cronielokkit-s http-s sshyum install postfixservice postfix startchkconfig postfix on curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bashEXTERNAL_URL= "http://gitlab.example.com" yum-y install gitlab-ce

Note: turn off the firewall, or lokkit will fail

Reboot is needed at this point: reboot

Gitlab service operation

 initialization configuration gitlab gitlab-ctl reconfigure

This command takes a long time to execute, and my own computer takes 20 minutes, when I see

It means it's done.

 starts the gitlab service gitlab-ctl start

 stops gitlab service gitlab-ctl stop

Find gitlab.rb.

Edit cd / etc/gitlab/vim gitlab.rb/external_url to your own server address

You can access the IP address of the Linux server. If you want to access the domain name specified by EXTERNAL_URL, you also need to configure the domain name server or local hosts file.

Thank you for reading, the above is the content of "the whole process of building gitlab under linux". After the study of this article, I believe you have a deeper understanding of the whole process of building gitlab under linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Service whole process command server learning content address domain name configuration action that is ideas situations files articles time more environment computer knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux OPPO Reno Apple Shulou Technology Docker