Install Latest Version of GitLab on Ubuntu 16.04 'Xenial Xerus' LTS
GitLab is an open source, platform-independent and completely free web-based software repository and project management application implemented in Ruby on Rails and cloned from the famous GitHub project. It is used in more than 100,000 organizations worldwide and specifically engineered for the GNU/Linux platform.
Features at a glance
Being inspired by GitHub and hosted at GitHub, the GitLab project is a code hosting application that supports merge requests, comments, control repository access, network graph, code snippets, administration, Wiki and issues.
With GitLab, any application developer will be able to create projects and app repositories, do code reviews, and manage access. It helps multiple software developers to easily collaborate on code.
The application gives developers of any kind fine grained access controls to effortlessly manage Git repositories and keep their source code secure at all times. It also helps you to improve collaboration with merge requests, as well as to perform code reviews.
Another interesting feature of GitLab, is that it implements a Wiki and an issue tracker for each of your projects, making it one of the most popular solution to manage Git software repositories on-premises.
What's new in GitLab 8.8.2
- EE: [Elastic] Search through the filenames. (!409)
- EE: Fix repository mirror updates for new imports stuck in "started" state. (!416)
- CE/EE: Added remove due date button. (!4209)
- CE/EE: Fix Error 500 when accessing application settings due to nil disabled OAuth sign-in sources. (!4242)
- CE/EE: Fix Error 500 in CI charts by gracefully handling commits with no durations. (!4245)
- CE/EE: Fix table UI on CI builds page. (!4249)
- CE/EE: Fix backups if Docker Registry is disabled. (!4263)
- CE/EE: Fixed issue with "Merge Immediately" button color. (!4211)
- CE/EE: Fixed issue with Enter key selecting wrong option in dropdown. (!4210)
- CE/EE: When creating a .gitignore file a dropdown with templates will be provided. (!4075)
- CE/EE: Fix concurrent request when updating build log in browser. (!4183)
To Install Latest Version of GitLab ON Ubuntu 16.04 'Xenial Xerus' LTS derivative systems, open a new Terminal window and bash (get it?) in the following commands :
1. Install and configure the necessary dependencies
If you install Postfix to send email please select 'Internet Site' during setup. Instead of using Postfix you can also use Sendmail or configure a custom SMTP server and configure it as an SMTP server.
On Centos 6 and 7, the commands below will also open HTTP and SSH access in the system firewall.
sudo apt-get install curl openssh-server ca-certificates postfix
2. Add the GitLab package server and install the package
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce
If you are not comfortable installing the repository through a piped script, you can find the entire script here and select and download the package manually and install using
curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/xenial/gitlab-ce-XXX.deb/download
dpkg -i gitlab-ce-XXX.deb
3. Configure and start GitLab
sudo gitlab-ctl reconfigure