• 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 OmniBus and Gitlab-CE 12.0.3 on CentOS 7.6

  • 01:15 yum install curl policycoreutils-python openssh-server postfix -y
  • 01:27 curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
  • 01:42 yum install gitlab-ce -y
  • 01:59 systemctl status sshd postfix
  • 02:13 gitlab-ctl reconfigure
{{postValue.id}}

Installation of GitLab OmniBus And Gitlab-CE 12.0.3 On CentOs 7.6

OmniBus Packages:

curl policycoreutils-python openssh-server postfix

GitLab Package Repository Command:

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash

Installation Procedure

Install the omnibus packages in order to run the GItlab-CE 12.0.3 by executing the following command.And then enable and start the service of both sshd and postfix .

[root@localhost ~]# yum install curl policycoreutils-python openssh-server postfix -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.123host.vn
 * extras: mirror.ehost.vn
 * updates: mirrors.123host.vn
base                                                                                                                  | 3.6 kB  00:00:00     
extras                                                                                                                | 3.4 kB  00:00:00     
updates                                                                                                               | 3.4 kB  00:00:00     
(1/2): extras/7/x86_64/primary_db                                                                                     | 205 kB  00:00:01     
.
.
.
.
.
Package curl-7.29.0-51.el7.x86_64 already installed and latest version
Package policycoreutils-python-2.5-29.el7_6.1.x86_64 already installed and latest version
Package openssh-server-7.4p1-16.el7.x86_64 already installed and latest version
Package 2:postfix-2.10.1-7.el7.x86_64 already installed and latest version
Nothing to do

Add the Gitlab-CE 12.0.3 repository by executing the following command

[root@localhost ~]#  curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6705    0  6705    0     0   2694      0 --:--:--  0:00:02 --:--:--  2693
Detected operating system as centos/7.
.
.
.
.
Fingerprint: 1a4c 919d b987 d435 9396 38b9 1421 9a96 e15e 78f4
 From       : https://packages.gitlab.com/gitlab/gitlab-ce/gpgkey
Generating yum cache for gitlab_gitlab-ce-source...

The repository is setup! You can now install packages.

Now Install the Gitlab-CE 12.0.3 Version

[root@localhost ~]# yum install gitlab-ce -y
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.123host.vn
 * extras: mirror.ehost.vn
 * updates: mirrors.123host.vn
Resolving Dependencies
--> Running transaction check
.
.
.
.
       *.                  *.
      ***                 ***
     *****               *****
    .******             *******
    ********            ********
   ,,,,,,,,,***********,,,,,,,,,
  ,,,,,,,,,,,*********,,,,,,,,,,,
  .,,,,,,,,,,,*******,,,,,,,,,,,,
      ,,,,,,,,,*****,,,,,,,,,.
         ,,,,,,,****,,,,,,
            .,,,***,,,,
                ,*,.
  


     _______ __  __          __
    / ____(_) /_/ /   ____ _/ /_
   / / __/ / __/ /   / __ `/ __ \
  / /_/ / / /_/ /___/ /_/ / /_/ /
  \____/_/\__/_____/\__,_/_.___/
  

Thank you for installing GitLab!
GitLab was unable to detect a valid hostname for your instance.
.
.
.
.
  Verifying  : gitlab-ce-12.0.3-ce.0.el7.x86_64                                                                                          1/1 

Installed:
  gitlab-ce.x86_64 0:12.0.3-ce.0.el7                                                                                                         

Complete!

Check the service status of ssh and postfix as follows

[root@localhost ~]# systemctl status sshd postfix
● sshd.service - OpenSSH server daemon
   Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2019-03-09 15:36:44 IST; 4 months 13 days ago

● postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2019-03-09 15:36:47 IST; 4 months 13 days ago

Reconfigure the Gitlab to power the OmniBus GitLab

[root@localhost ~]# gitlab-ctl reconfigure
Starting Chef Client, version 13.6.4
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
  - postgresql (0.1.0)
  - redis (0.1.0)
  - registry (0.1.0)
  - gitlab (0.0.1)
.
.
.
.
.
.
Recipe: <Dynamically Defined Resource>
  * service[alertmanager] action restart
    - restart service service[alertmanager]
  * service[postgres-exporter] action restart
    - restart service service[postgres-exporter]
  * service[grafana] action restart
    - restart service service[grafana]

Running handlers:
Running handlers complete
Chef Client finished, 510/1343 resources updated in 04 minutes 15 seconds
Gitlab Reconfigured!

Open your Browser and enter the IP address of your Gitlab machine to access the Gitlab snap (1) Create a password for the Gitlab root account snap (2) snap (3) Enter the default username as root and password created snap (4) Administrators Gitlab Account has been created. snap (5)

With this, Installation of Gitlab Omnibus and Gitlab-CE 12.0.3 version is successful and comes to end.

Tags:
caden
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is the use of policycoreutils-python In Gitlab OmniBus package?

A

policycoreutils-python Usage in Gitlab Omnibus package contains management tools which manage the SELinux Environment.

Q

What is the use of Postfix to install the gitlab?

A

Postfix handles the delivery of email messages on a server which is the default mail server in almost Linux Distributions

Q

What is Gitlab OmniBus?

A

Gitlab omniBus is a way where it contains package of different services and different tools which are very essential to function or run the GitLab normally.

Q

What is Gitlab used for?

A

Usage of gitlab comes to play in managing the repositories where it allows us to decide whether the repository or projects has to be in private or public .The user has all control over the repositories.

Q

What is the configuration file of Gitlab?

A

The configuration file of GitLab is /etc/gitlab/gitlab.rb

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 Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

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.