Install GitLab in combination with Apache2 instead of Nginx

GitLab provides a simple but powerful web based interface to your Git repositories a la GitHub, only you can host it on your own cloud server, control access as you see fit, and repo size is limited only by how much storage space your server has

Install &Ā Configure the necessary dependencies

Select ‘Internet Site’

Press ‘Enter’

Add the GitLab package server and install the package

Install Apache2

Enable Apache2 Proxy

Change the GitLab config

Edit this file and find the following lines, uncomment them or add them if not present.

Reconfigure GitLab

Restart GitLab

Create a new Apache config with the config below

Enable the Apache config file

Restart the Apache server

Add gitlab.local to your DNS or hostfile, then browse to http://gitlab.local and login.

 

Leave a Reply

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