Now that the dependencies are in place, we can install GitLab itself. On the next screen, enter your server’s domain name or IP address to configure how the system will send mail. For the postfix installation, select Internet Site when prompted. You will likely have some of this software installed already. sudo apt-get install ca-certificates curl openssh-server postfix.Since this is our first time using apt during this session, we can refresh the local package index and then install the dependencies by typing: Fortunately, all of the required software can be easily installed from Ubuntu’s default package repositories. Installing the Dependenciesīefore we can install GitLab itself, it is important to install some of the software that it leverages during installation and on an ongoing basis. When you have satisfied the above prerequisites, continue on to start the installation procedure. You can follow the steps in our Ubuntu 16.04 initial server setup guide to get this setup. It is also a good idea to set up a basic firewall to provide an additional layer of security. In order to get started, you will need a non-root user with sudo access configured on the server. For this guide we will assume that you have the above resources as a minimum. The published GitLab hardware requirements recommend using a server with:Īlthough you may be able to get by with substituting some swap space for RAM, it is not recommended. This tutorial will assume that you have access to a fresh Ubuntu 16.04 server.
#How to install gitlab unbundled nginx how to#
In this guide, we will cover how to install and configure GitLab on an Ubuntu 16.04 server. The GitLab project makes it relatively straight forward to set up a GitLab instance on your own hardware with an easy installation mechanism. It is designed to be hosted using your own infrastructure, and provides flexibility in deploying as an internal repository store for your development team, publicly as a way to interface with users, or even open as a way for contributors to host their own projects. GitLab CE, or Community Edition, is an open source application primarily used to host Git repositories, with additional development-related features like issue tracking.