Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install the configuration of the version management tool gitlab

2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the version management tool gitlab how to install the configuration, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

First, install configuration dependencies

Sudo yum install curl openssh-server openssh-clients postfix cronie-y

Sudo service postfix start

Sudo chkconfig postfix on

Sudo lokkit-s http-s ssh

Second, add the GitLab repository and install it on the server

Wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6/gitlab-ce-10.1.4-ce.0.el6.x86_64.rpm

Rpm-ivh gitlab-ce-XXX.rpm

Start gitlab:sudo gitlab-ctl reconfigure

If the access http:127.0.0.1:80 is not accessible, then use the command to view the log (gitlab-ctl tail # view all logs):

Gitlab-ctl tail payback port 80 is occupied.

Modify the gitlab startup port:

Gitlab itself uses port 80. If 80 is enabled on the server before installation, an error will be reported after installation. The default port of gitlab needs to be changed. Modify vim / etc/gitlab/gitlab.rb:external_url 'http://10.211.55.8:90'

Execute sudo gitlab-ctl reconfigure to make it effective, visit as follows:

The administrator account is root, and the password will be changed by you for the first time.

Gitlab-ctl start | stop | status | restart

Thank you for reading this article carefully. I hope the article "how to install and configure the version management tool gitlab" shared by the editor will be helpful to everyone. At the same time, I also hope you can support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report