Install Gitlab on OpenVZ CentOS 7 container

I’m a fan of Git and Gitlab but Gitlab was a bit difficult to install earlier because it involved compiling from source and such.

Nowadays there is a nice script you can run to install the whole kaboozle.

https://about.gitlab.com/downloads/

(When you select your distribution of choice, in my case this moment: CentOS 7, you’ll see the simple beauty of it all).

The only thing I ran into when I wanted to install the package on a CentOS 7 OpenVZ Template was that there were some dependencies missing which you’ll find on a proper minimal install of CentOS 7 but not on the OpenVZ Template.

After this I could run the gitlab-ctl reconfigure command and enjoy the Gitlab server.