• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Gitlab on Oracle Linux 8.5

  • 00:30 cat /etc/os-release
  • 00:50 dnf install -y curl policycoreutils openssh-server perl
  • 01:07 systemctl disable firewalld
  • 01:19 setenforce 0
  • 01:32 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:43 rpm -ivh gitlab-ce-14.4.2-ce.0.el8.x86_64.rpm
  • 02:00 gitlab-ctl reconfigure
  • 03:17 cat /etc/gitlab/
  • 03:35 vim initial_root_password
{{postValue.id}}

To Install GitLab on Oracle Linux 8.5

Introduction:

GitLab is an open source code repository and collaborative software development platform for large DevOps and DevSecOps projects. GitLab, the DevOps software that combines the ability to develop, secure, and operate software in a single application.

Installation Procedure:

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

[root@linuxhelplinuxhelp]# cat  /etc/os-release
NAME="Oracle Linux Server"
VERSION="8.5"
ID="ol"
ID_LIKE=""
VARIANT="Server"

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: Disable firewalld and SELinux by using the below command

[root@linuxhelp ~]# systemctl disable firewalld
[root@linuxhelp ~]# setenforce 0

Success

Step 4: 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 5: Install the gitlab-ce rpm package by using the below command

[root@linuxhelp ~]# rpm -ivh 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 6 : 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 7: login Git as root user as shown in the below image snap1

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

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

Step 9: List the directory by using the below command

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

Step 10: Open the following file using Vim Command

 [root@linuxhelp gitlab]# vim initial_root_password 

Step 11: copy the root password as shown in the below image snap3

Step 12: login Console as shown in the below image snap2

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to installing GitLab on Oracle Linux 8.5. Your feedback is much welcome.

Tags:
mason
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

1. What are the advantages of using Git?

A

Faster release cycles
Easy team collaboration
Widespread acceptance
Maintains the integrity of source code
Pull requests

Q

2. Which command is used to create an empty Git repository?

A

git init - is the command that helps to create an empty repository while working on a project.

Q

3. What does the git push command do?

A

The Git push command is used to push the content from a local repository to a remote repository.

Q

4. What is the use of the git config command?

A

The git config command is used to set git configuration values on a global or local level.

Q

5. Where Are My Data Stored? Is It Secure?

A

GitLab Control helps to store your information both online (in your host) and domestically.

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 Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

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.