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

CentOS 7 build GitLab

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Brief introduction:

GitLab is an open source project for warehouse management system, which uses Git as a code management tool and builds web services on this basis. The installation method is to refer to the Wiki page of GitLab on GitHub.

Features:

The 1.Web framework uses RubyonRails.

two。 Based on the MIT code release protocol.

3. Requires gitolite to work together

1. Installation dependency

1. Install ssh

Sudo yum install-y curl policycoreutils-pythonopenssh-server

two。 Set the SSH service to boot and start the SSH service

Sudo systemctl enable sshdsudo systemctl start sshd

3. Install Postfix

Sudo yum install postfix

4. Set the postfix service to boot and start

Sudo systemctl enable postfixsudo systemctl start postfix

5. Install policycoreutils-python

Yum install policycoreutils-python

Second, install gitlab

Download 1.gitlab rpm package

Download address of centos 6 system: https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6

Download address of centos 7 system: https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7

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

2.gitlab rpm package installation

Rpm-I gitlab-ce-11.11.5-ce.0.el7.x86_64.rpm

Modify gitlab configuration file to specify server ip and custom port

1. Modify the value of external_url in the etc/gitlab/gitlab.rb file and assign a port number that does not conflict. The default is 80.

two。 Reset and start GitLab

Gitlab-ctl reconfiguregitlab-ctl restart

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

Servers

Wechat

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

12
Report