LinuxUbuntu

How to install Gitlab in Ubuntu 14.04

What is Gitlab

GitLab is a web-based Git repository manager with wiki and issue tracking features.

How to install Gitlab in Ubuntu 14.04

0. Install Dependencies

apt-get update
apt-get install curl openssh-server ca-certificates postfix

1. Add Gitlab Repository

curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

2. Install Gitlab

apt-get install gitlab-ce

3. Configure and Start Gitlab

vim /etc/gitlab/gitlab.rb

Uncommented the configure some like this:

external_url "//gitlab.blackonsole.org/"
gitlab_rails['gitlab_email_from'] = "[email protected]"
gitlab_rails['gitlab_support_email'] = "[email protected]"
gitlab-ctl reconfigure

4. Open web browser and login with default credentials

Username: root 
Password: 5iveL!fe

Ref

o Google
o Gitlab

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *