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 GitLab-CE for Centos8

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

Share

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

This article editor for you detailed introduction of "Centos8 how to install GitLab-CE", the content is detailed, the steps are clear, the details are handled properly, I hope this "Centos8 how to install GitLab-CE" article can help you solve your doubts, following the editor's ideas slowly in-depth, let's learn new knowledge together.

There are three different versions of GitLab available: Community Edition (CE), Enterprise Edition (EE), and GitLab managed version. The CE version is open source and free. The EE version is an enterprise version and needs to be paid for.

Environment Centos8gitlab-ce-13.1.4

It is recommended that the number of cpu cores is 4 cores and the recommended memory size is 4GB.

Install GitLab-CE

Create a new / etc/yum.repos.d/gitlab-ce.repo repository file, and then copy the contents to the file.

[root@localhost ~] # touch / etc/yum.repos.d/gitlab-ce.repo [gitlab-ce] name=Gitlab CE Repository baseurl= https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el$releasever/ gpgcheck=0 enabled=1

Update the yum cache and install gitlab-ce:

[root@localhost ~] # yum makecache [root@localhost ~] # yum-y install gitlab-ce

The installation is complete.

Open port in firewall [root@localhost ~] # firewall-cmd-- permanent-- add-service=httpsuccess [root@localhost ~] # firewall-cmd-- permanent-- add-service=httpssuccess [root@localhost ~] # firewall-cmd-- reloadsuccess configure and start gitlab

Just after installation, you need to configure gitlab.

[root@localhost ~] # gitlab-ctl reconfigure

After the configuration is complete, all services have been started, and boot has been set up.

Common operations of gitlab-ctl:

# reset application gitlab-ctl reconfigure# start all services gitlab-ctl start# close all services gitlab-ctl stop# restart all services gitlab-ctl restart# list all services gitlab-ctl service-list# view service status gitlab-ctl statusweb interface access GitLab

Enter the local ip address in the browser to access gitlab. The password needs to be set for the administrator for the first visit: the default user is root. You can log in just after setting the password:

Then you can create a project.

Read here, this "Centos8 how to install GitLab-CE" article has been introduced, want to master the knowledge of this article also need to practice and use in order to understand, if you want to know more about the article, welcome to follow the industry information channel.

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