• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How To Install Gitlab on REDHAT 8.5

  • 00:04 cat /etc/os-release
  • 00:20 dnf install -y curl policycoreutils openssh-server perl
  • 00:38 systemctl enable sshd
  • 00:46 vim initial_root_password
  • 00:54 systemctl start sshd
  • 01:09 firewall-cmd --add-service=http --permanent
  • 01:31 wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/8/gitlab-ce-14.4.2-ce.0.el8.x86_64.rpm/download.rpm
  • 01:55 dnf install gitlab-ce-14.4.2-ce.0.el8.x86_64.rpm
  • 02:18 gitlab-ctl reconfigure
  • 03:38 cd /etc/gitlab/
  • 03:44 ls
6978

To Install Gitlab on REDHAT 8.5

Introduction:

GitLab is a web-based Git repository that comes up with free open and private repositories, issue-following capabilities, and wikis. This is a complete DevOps platform that allows professionals to perform all the tasks in a project—from project planning and source code management to monitoring and security.

Installation Steps:

Step 1: Check the installed version of OS version by using the below command

[root@linuxhelp ~]# cat /etc/os-release 
NAME="Red Hat Enterprise Linux"
VERSION="8.5 (Ootpa)"

Step 2: Install the dependency packages by using the below command

[root@linuxhelp ~]# dnf install -y curl policycoreutils openssh-server perl
Updating Subscription Management repositories.
Unable to read consumer identity
AppStream                                       3.1 MB/s | 3.2 kB     00:00    
BaseOS                                          2.7 MB/s | 2.8 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64   10 kB/s | 8.4 kB     00:00    
===========================================================
 Package                      Arch   Version                            Repo                                                                           Size
--------------------------------------------------------------------------------
  systemtap-sdt-devel-4.5-3.el8.x86_64                                          
Complete!

Step 3: Enable the sshd Services by using the below command

 [root@linuxhelp ~]# systemctl enable sshd

Step 4: Start the sshd Services by using the below command

 [root@linuxhelp ~]# systemctl start sshd

Step 5: Add the firewall for http by using the below command

 [root@linuxhelp ~]# firewall-cmd --add-service=http --permanent 
Success

Step 6: Download the gitlab CE Package by using the below command

 [root@linuxhelp ~]# wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/8/gitlab-ce-14.4.2-ce.0.el8.x86_64.rpm/download.rpm

--2022-05-14 05:43:55--  https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/8/gitlab-ce-14.4.2-ce.0.el8.x86_64.rpm/download.rpm
2022-05-14 05:44:47 (18.3 MB/s) - ‘gitlab-ce-14.4.2-ce.0.el8.x86_64.rpm’ saved [971743744/971743744]

Step 7: Install the gitlab-ce rpm package by using the below command

[root@linuxhelp ~]# dnf install gitlab-ce-14.4.2-ce.0.el8.x86_64.rpm

Updating Subscription Management repositories.
Unable to read consumer identity
Dependencies resolved.
Installing:
 gitlab-ce       x86_64       14.4.2-ce.0.el8          @commandline       927 M
===========================================================

Installed size: 2.0 G
Is this ok [y/N]: y
Is this ok [y/N]: y
       *.                  *.
      ***                 ***
     *****               *****
    .******             *******
    ********            ********
   ,,,,,,,,,***********,,,,,,,,,
  ,,,,,,,,,,,*********,,,,,,,,,,,
  .,,,,,,,,,,,*******,,,,,,,,,,,,
      ,,,,,,,,,*****,,,,,,,,,.
         ,,,,,,,****,,,,,,
            .,,,***,,,,
                ,*,.
  


     _______ __  __          __
    / ____(_) /_/ /   ____ _/ /_
   / / __/ / __/ /   / __ `/ __ \
  / /_/ / / /_/ /___/ /_/ / /_/ /
  \____/_/\__/_____/\__,_/_.___/
  gitlab-ce-14.4.2-ce.0.el8.x86_64                                              
Complete!

Step 8: Reconfigure the gitlab by using the below command

[root@linuxhelp ~]# gitlab-ctl reconfigure
Starting Chef Infra Client, version 15.17.4
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks  
Recipe: monitoring::prometheus
  * runit_service[prometheus] action restart (up to date)
  * execute[reload prometheus] action run
Recipe: monitoring::alertmanager
gitlab Reconfigured!

Step 9: Go to your favorite browser and search your ip address as shown in the below image

Snap 1

Step 10: Login Git as root user as shown in the below image

Snap 2

Step 11: Go to the following path on terminal to get Git default root password by using the below command

[root@linuxhelp ~]# cd /etc/gitlab/

Step 12: List the directory by using the below command

[root@linuxhelp gitlab]# ls
gitlab.rb  gitlab-secrets.json    initial_root_password  trusted-certs 

Step 13: Open the following file using Vim Command by using the below command

 [root@linuxhelp gitlab]# vim initial_root_password 

Step 14: copy the root password as shown in the below image Snap 3

Step 15: Paste the password on login Console as shown in the below image Snap 4

By this the Installation of GitLab on REDHAT 8.5 has been Completed.

Tags:
connor
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What is Gitlab-CE?

A

A GitLab is a web-based repository manager for team collaboration. It is used to create, and edit new projects and merge finished code into the existing projects.

Q

What is the RAM requirement for the GitLab server to install?

A

A Minimum of 4GB is required for this Gitlab server.

Q

Does GitLab provide project templates?

A

A There are no project templates in GitLab at the moment.

Q

Which command to access the gitlab-rails in the terminal?

A

The command to access the gitlab-rails in the terminal, execute the following command gitlab-rails console.
# gitlab-rails console production

Q

What is the advantage of GitLab CE Ominbus?

A

The advantage of GitLab CE Ominbus are
Secured codes.
Improved milestones.
Status availability.
Supports GUI.
Control over the repository.
Snippet supports.

Related Tutorials in How To Install Gitlab on REDHAT 8.5

Related Tutorials in How To Install Gitlab on REDHAT 8.5

How to add local folder to a GitLab project
How to add local folder to a GitLab project
Apr 20, 2017
How to reset gitlab admin password
How to reset gitlab admin password
Mar 30, 2017
How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
Oct 17, 2022
How to Install and configure GitLab runner on centos 7
How to Install and configure GitLab runner on centos 7
Oct 22, 2021
How to enable repositories on RHEL7.6 without Red Hat-Subscription
How to enable repositories on RHEL7.6 without Red Hat-Subscription
Sep 5, 2020
How to change default backup location in GitLab
How to change default backup location in GitLab
Apr 17, 2017
How to check the lsb_release of your redhat based Linux distros
How to check the lsb_release of your redhat based Linux distros
Jun 8, 2018
How to Install Docker-CE on RHEL-7.6
How to Install Docker-CE on RHEL-7.6
Sep 11, 2020

Related Forums in How To Install Gitlab on REDHAT 8.5

Related Forums in How To Install Gitlab on REDHAT 8.5

redhat
ethan class=
How to fix "container-selinux >= 2:2.74" issue while Installing Docker-CE on RHEL7.6
Aug 25, 2020
gitlab
baseer class=
How to check gitlab version
Oct 24, 2017
Git
vertonskjelvic class=
error: failed to push some refs to in gitlab
Nov 24, 2017
gitlab
caden class=
Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages
Jul 22, 2019
gitlab
brayden class=
GitLab: The project you were looking for could not be found
May 23, 2017
gitlab
ceriaimmaculate class=
Gitlab : how to rename branch name
Oct 26, 2017
gitlab
otwol class=
502 Error Whoops Gitlab is Taking too much of time to respond
Jul 29, 2019
Linux
AadrikaAnshu class=
How to add timestamps to history On Any Linux Machine
Jun 18, 2019

Related News in How To Install Gitlab on REDHAT 8.5

Related News in How To Install Gitlab on REDHAT 8.5

Gitlab assures its users of data recovery post data loss incident
Gitlab assures its users of data recovery post data loss incident
Feb 4, 2017
Red Hat Enterprise Linux 6.9 Hits Beta
Red Hat Enterprise Linux 6.9 Hits Beta
Jan 6, 2017
Red Hat initiates new pilot program to ease into Digital Transformation
Red Hat initiates new pilot program to ease into Digital Transformation
Mar 30, 2017
Red Hat Preconized Red Hat Openstack Platform 11
Red Hat Preconized Red Hat Openstack Platform 11
May 10, 2017
Red Hat Enterprise Linux 7.7 beta rolled out
Red Hat Enterprise Linux 7.7 beta rolled out
Jun 7, 2019
IBM TO ACQUIRE RED HAT
IBM TO ACQUIRE RED HAT
Nov 15, 2018
Oracle Vulnerability Exploited in the Wild
Oracle Vulnerability Exploited in the Wild
Jun 25, 2019
Red Hat allows Microsoft’s .NET Core 2.0 to Linux and associated Cloud
Red Hat allows Microsoft’s .NET Core 2.0 to Linux and associated Cloud
Aug 23, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.