Installing GitLab CE on Ubuntu Server 14.04
GitLab is an awesome local option for storing all of your Git repositories.
Currently GitLab only supports Ubuntu 14.04 or 12.04. This means the new Ubuntu 15.04 isn’t supported. You can get it to work but you have to manually change a gitlab cookbook recipe as explained on AskUbuntu.com.
To install GitLab on Ubuntu Server 14.04 simply follow the instructions on https://about.gitlab.com/downloads/, which I will summarize below.
Step 1: Install the dependencies.
sudo apt-get install curl openssh-server ca-certificates postfix
As Postfix installs it will prompt your to choose the type of mail configuration, choose ‘Internet Site’. Then it will ask you for the System mail name, this is the domain from which mail will be sent. I for example am using tribe.home.
Step 2: Add the GitLab package server and install GitLab
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce
Step 3: Configure and Start GitLab
sudo gitlab-ctl reconfigure
Step 4: Login
Navigate to the ip address of your server in your web browser.
GitLab’s default username and password are as follows:
Username: root Password: 5iveL!fe
After logging in you will be prompted to change your password.
Step 5: Configure
I highly recommend that you change the default username. Do this by clicking the Profile settings button, shown below.