How to Install Gitlab on Ubuntu 20.4.1
To Install Gitlab on Ubuntu 20.4.1
Introduction:
GitLab is a web-based Git repository that provides free open and private repositories, issue-following capabilities, and wikis. It is a complete DevOps platform that enables professionals to perform all the tasks in a project—from project planning and source code management to monitoring and security.
Installation Process:
Run lsb_release command to check the installed version of OS as follows.
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
Install Required packages to install Gitlab:
The packages are openssh-server and postfix mail server.
To install packages type below command.
root@linuxhelp:~# apt-get install openssh-server postfix -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ncurses-term openssh-sftp-server ssh-import-id
Suggested packages:
molly-guard monkeysphere ssh-askpass procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre postfix-lmdb postfix-sqlite
sasl2-bin | dovecot-common resolvconf postfix-cdb postfix-doc
The following NEW packages will be installed:
ncurses-term openssh-server openssh-sftp-server postfix ssh-import-id
0 upgraded, 5 newly installed, 0 to remove and 181 not upgraded.
Need to get 1,886 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu focal/main amd64 ncurses-term all 6.2-0ubuntu2 [249 kB]
………………………………………………………….
…………………………………………………………….
After completing the above step Install Gitlab by using below command:
root@linuxhelp:/home/netaxis/Desktop# dpkg -i gitlab-ce_13.5.4-ce.0_amd64.deb
Selecting previously unselected package gitlab-ce.
(Reading database ... 221184 files and directories currently installed.)
Preparing to unpack gitlab-ce_13.5.4-ce.0_amd64.deb ...
Unpacking gitlab-ce (13.5.4-ce.0) ...
Setting up gitlab-ce (13.5.4-ce.0) ...
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
Once completed goto gitlab configuration file by using below command:
root@linuxhelp:/home/netaxis/Desktop# nano /etc/gitlab/gitlab.rb
After completed reconfigure the gitlab by using below command:
root@linuxhelp:/home/netaxis/Desktop# gitlab-ctl reconfigure
After completed the reconfigure goto browser type gitlab ip address in address bar.
It will open gitlab page and ask to set password
After setting password it will open the page

The Installation process of Gitlab on Ubuntu comes to end.
Comments ( 0 )
No comments available