How to Install Gitlab on Linuxmint 19
Installation Of Gitlab On Linuxmint 19
GitLab is a web-based repository manager for teams collaboration. It is used to create, edit new projects and merge finished code into the existing projects. In This Tutorial We Will Covers the Installation Of Gitlab On Linuxmint 19
Check the Linuxmint version by using the following command
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara
Before installing gitlab community edition, install the following dependency packages.
root@linuxhelp:~# apt install openssh-server postfix gdebi
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-server is already the newest version (1:7.6p1-4ubuntu0.3).
Suggested packages:
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:
postfix
The following packages will be upgraded:
gdebi gdebi-core
2 upgraded, 1 newly installed, 0 to remove and 640 not upgraded.
Need to get 1,278 kB of archives.
After this operation, 4,078 kB of additional disk space will be used.
Get:1 http://packages.linuxmint.com tara/upstream amd64 gdebi all 0.9.5.7xmint8 [35.0 kB]
Get:2 http://packages.linuxmint.com tara/upstream amd64 gdebi-core all 0.9.5.7xmint8 [95.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 postfix amd64 3.3.0-1ubuntu0.2 [1,147 kB]
Fetched 1,278 kB in 3s (429 kB/s)
.
.
.
Postfix (main.cf) is now set up with a default configuration. If you need to
make changes, edit /etc/postfix/main.cf (and others) as needed. To view
Postfix configuration values, see postconf(1).
After modifying main.cf, be sure to run 'service postfix reload'.
Running newaliases
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10) ...
Processing triggers for rsyslog (8.32.0-1ubuntu4) ...
Processing triggers for ufw (0.35-5) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Previously downloaded the gitlab installation package
root@linuxhelp:~# ls
Desktop gitlab-ce_12.1.0-ce.0_amd64.deb
Install the gitlab by using gdebi command
root@linuxhelp:~# gdebi gitlab-ce_12.1.0-ce.0_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
GitLab Community Edition (including NGINX, Postgres, Redis)
Do you want to install the software package? [y/N]:y
Selecting previously unselected package gitlab-ce.
(Reading database ... 240892 files and directories currently installed.)
Preparing to unpack gitlab-ce_12.1.0-ce.0_amd64.deb ...
Unpacking gitlab-ce (12.1.0-ce.0) ...
Setting up gitlab-ce (12.1.0-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
For a comprehensive list of configuration options please see the Omnibus GitLab readme
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
Now start the configuration by using the gitlab-ctl command.
root@linuxhelp:~# gitlab-ctl reconfigure
Starting Chef Client, version 14.13.11
resolving cookbooks for run list: ["gitlab"]
Synchronizing Cookbooks:
- gitlab (0.0.1)
- package (0.1.0)
- postgresql (0.1.0)
- redis (0.1.0)
- monitoring (0.1.0)
- registry (0.1.0)
- mattermost (0.1.0)
- gitaly (0.1.0)
- consul (0.1.0)
- letsencrypt (0.1.0)
- runit (4.3.0)
- nginx (0.1.0)
- acme (4.0.0)
- crond (0.1.0)
Installing Cookbook Gems:
Compiling Cookbooks...
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, 511/1326 resources updated in 05 minutes 33 seconds
gitlab Reconfigured!
Open the browser and navigate to ip address
On first visit, it automatically redirects to the password reset screen. Provide the password for administrative account (root).
Enter the username and password for administrative account (root).

This is the Dashboard of Gitlab
With this the method of installation of gitlab on linuxmint 19 comes to end
Comments ( 0 )
No comments available