CentOS Stream 8
Sponsored Link

GitLab : Install2021/04/14

 
Install GitLab (Community Edition) which is the project management system like GitHub.
[1]
[2]
[3] Install GitLab Community Edition.
It's easy to setup with [gitlab-ctl] command by using Chef Cook Book, SELinux policy is also configured.
[root@dlp ~]#
curl -O https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh

[root@dlp ~]#
sh ./script.rpm.sh
[root@dlp ~]#
dnf -y install gitlab-ce

Dependencies resolved.
================================================================================
 Package        Arch        Version                 Repository             Size
================================================================================
Installing:
 gitlab-ce      x86_64      13.10.2-ce.0.el8        gitlab_gitlab-ce      865 M

Transaction Summary
================================================================================
Install  1 Package
.....
.....

[root@dlp ~]#
gitlab-ctl reconfigure
Starting Chef Infra Client, version 15.14.0
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
  - gitlab (0.0.1)
  - package (0.1.0)

.....
.....

Running handlers:
Running handlers complete
Chef Infra Client finished, 586/1556 resources updated in 05 minutes 55 seconds

Notes:
It seems you haven't specified an initial root password while configuring the GitLab instance.
On your first visit to  your GitLab instance, you will be presented with a screen to set a
password for the default admin account with username `root`.

gitlab Reconfigured!

# if Firewalld is running, allow HTTP service

[root@dlp ~]#
firewall-cmd --add-service={http,https} --permanent

success
[root@dlp ~]#
firewall-cmd --reload

success
[4] Access to [http://(your server's hostname or IP address)/] from any Client Host, then password reset is required at initial access, set new password you like.
[5] After reseting password, login form is shown, login with root user and password you just set above.
[6] This is GitLab index page. That's OK to install GitLab CE.
Matched Content