Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Install GitLab Community Edition

By editor , 3 May, 2018
Question

How to install gitlab GitLab Community Edition on linux ?

The official tutorial is hear : https://about.gitlab.com/installation/#debian?version=ce
CE or EE : https://about.gitlab.com/installation/ce-or-ee/?distro=debian

Install Community Edition on Debian Linux.

Prepare: Install and configure the necessary dependencies

sudo apt-get install -y curl openssh-server ca-certificates
sudo apt-get install -y postfix


Install GitLab

(Replace gitlab.example.com by your git domain name or add gitlab.example.com to hosts)

curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo EXTERNAL_URL="http://gitlab.example.com" apt-get install gitlab-ce


Visit and Use the default account's username root to login.

Documentation : https://docs.gitlab.com/omnibus/README.html#installation-and-configuration-using-omnibus-package

 

GitLab configuration

Edit configuration file : 
/etc/gitlab/gitlab.rb

Note : GitLab was unable to detect a valid hostname for your instance. Please configure a URL for your GitLab instance by setting `external_url`

Reload configuration:
sudo gitlab-ctl reconfigure

Tags

  • Server
  • Git
  • Linux
Git - Ignore Files, Directories, Permissions
Helpful git commands

Comments

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer