• 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 Linuxmint 19

  • 00:26 lsb_release -a
  • 00:39 apt install openssh-server postfix gdebi
  • 01:19 gdebi gitlab-ce_12.1.0-ce.0_amd64.deb
  • 01:46 gitlab-ctl reconfigure
{{postValue.id}}

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 snap1 On first visit, it automatically redirects to the password reset screen. Provide the password for administrative account (root). snap2 Enter the username and password for administrative account (root). snap3

This is the Dashboard of Gitlab snap4 With this the method of installation of gitlab on linuxmint 19 comes to end

Tags:
oliver
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Is there any Alternate for gitlab?

A

SVN,gogs bitbucket and so on.

Q

What is the RAM requirement for GITLAB server to install?

A

minimum 4GB required for this Gitlab server.

Q

What is Git in Linux?

A

Git is a distributed version control system developed by Junio Hamano and Linus Torvalds.

Git does not use a centralized server.

Git runs on Linux, BSD, Solaris, Darwin, Windows, Android, and other operating systems.

Q

Does GitLab provide project templates?

A

There are no project templates in GitLab at the moment.

Q

Is there a max size (disk size) per project in Gitlab?

A

Projects have no limit on-disk size. The size of each project is listed in the overview of the project in the admin panel in Gitlab.

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 Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

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.