Devops Gitlab

Install steps

from: https://about.gitlab.com/installation/#centos-6

[root@formshost ~]# useradd gitlab -d /opt/devops/gitlab/ -g java -Gjava,vboxsf
[root@formshost ~]# yum install -y curl policycoreutils-python openssh-server cronie
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Package curl-7.29.0-42.el7.x86_64 already installed and latest version
Package policycoreutils-python-2.5-17.1.el7.x86_64 already installed and latest version
Package openssh-server-7.4p1-11.el7.x86_64 already installed and latest version
Package cronie-1.4.11-17.el7.x86_64 already installed and latest version
Nothing to do
[root@formshost ~]#
[root@formshost ~]# curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6399    0  6399    0     0   5866      0 --:--:--  0:00:01 --:--:--  5876
Detected operating system as rhel/7.
Checking for curl...
Detected curl...
Downloading repository file: https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/config_file.repo?os=rhel&dist=7&source=script
done.
Installing pygpgme to verify GPG signatures...
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
gitlab_gitlab-ee-source/signature                                                                                                      |  836 B  00:00:00
Retrieving key from https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey
Importing GPG key 0xE15E78F4:
 Userid     : "GitLab B.V. (package repository signing key) <packages@gitlab.com>"
 Fingerprint: 1a4c 919d b987 d435 9396 38b9 1421 9a96 e15e 78f4
 From       : https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey
Retrieving key from https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey/gitlab-gitlab-ee-3D645A26AB9FBD22.pub.gpg
gitlab_gitlab-ee-source/signature                                                                                                      |  951 B  00:00:00 !!!
gitlab_gitlab-ee-source/primary                                                                                                        |  175 B  00:00:01
Package pygpgme-0.3-9.el7.x86_64 already installed and latest version
Nothing to do
Installing yum-utils...
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Package yum-utils-1.1.31-42.el7.noarch already installed and latest version
Nothing to do
Generating yum cache for gitlab_gitlab-ee...
Importing GPG key 0xE15E78F4:
 Userid     : "GitLab B.V. (package repository signing key) <packages@gitlab.com>"
 Fingerprint: 1a4c 919d b987 d435 9396 38b9 1421 9a96 e15e 78f4
 From       : https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey

The repository is setup! You can now install packages.
[root@formshost ~]#
[root@formshost ~]# EXTERNAL_URL="http://gitlab.example.com" yum -y install gitlab-ee
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
gitlab_gitlab-ee/x86_64/signature                                                                                                      |  836 B  00:00:00
gitlab_gitlab-ee/x86_64/signature                                                                                                      | 1.0 kB  00:00:00 !!!
gitlab_gitlab-ee-source/signature                                                                                                      |  836 B  00:00:00
gitlab_gitlab-ee-source/signature                                                                                                      |  951 B  00:00:00 !!!
Resolving Dependencies
--> Running transaction check
---> Package gitlab-ee.x86_64 0:10.2.5-ee.0.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================
 Package                            Arch                            Version                                   Repository                                 Size
==============================================================================================================================================================
Installing:
 gitlab-ee                          x86_64                          10.2.5-ee.0.el7                           gitlab_gitlab-ee                          422 M

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

Total download size: 422 M
Installed size: 1.2 G
Downloading packages:
warning: /var/cache/yum/x86_64/7Server/gitlab_gitlab-ee/packages/gitlab-ee-10.2.5-ee.0.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID f27eab47: NOKEYTA
Public key for gitlab-ee-10.2.5-ee.0.el7.x86_64.rpm is not installed
gitlab-ee-10.2.5-ee.0.el7.x86_64.rpm                                                                                                   | 422 MB  00:00:45
Retrieving key from https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey
Importing GPG key 0xE15E78F4:
 Userid     : "GitLab B.V. (package repository signing key) <packages@gitlab.com>"
 Fingerprint: 1a4c 919d b987 d435 9396 38b9 1421 9a96 e15e 78f4
 From       : https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey
Retrieving key from https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey/gitlab-gitlab-ee-3D645A26AB9FBD22.pub.gpg
Importing GPG key 0xF27EAB47:
 Userid     : "GitLab, Inc. <support@gitlab.com>"
 Fingerprint: dbef 8977 4ddb 9eb3 7d9f c3a0 3cfc f9ba f27e ab47
 From       : https://packages.gitlab.com/gitlab/gitlab-ee/gpgkey/gitlab-gitlab-ee-3D645A26AB9FBD22.pub.gpg
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : gitlab-ee-10.2.5-ee.0.el7.x86_64                                                                                                           1/1
It looks like GitLab has not been configured yet; skipping the upgrade script.

       *.                  *.
      ***                 ***
     *****               *****
    .******             *******
    ********            ********
   ,,,,,,,,,***********,,,,,,,,,
  ,,,,,,,,,,,*********,,,,,,,,,,,
  .,,,,,,,,,,,*******,,,,,,,,,,,,
      ,,,,,,,,,*****,,,,,,,,,.
         ,,,,,,,****,,,,,,
            .,,,***,,,,
                ,*,.

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

Thank you for installing GitLab!
GitLab was unable to detect a valid hostname for your instance.
Please configure a URL for your GitLab instance by setting `external_url`
configuration in /etc/gitlab/gitlab.rb file.
Then, you can start your GitLab instance by running the following command:
  sudo gitlab-ctl reconfigure

For a comprehensive list of configuration options please see the Omnibus GitLab readme
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md

  Verifying  : gitlab-ee-10.2.5-ee.0.el7.x86_64                                                                                                           1/1

Installed:
  gitlab-ee.x86_64 0:10.2.5-ee.0.el7

Complete!
[root@formshost ~]#
[root@formshost ~]#