Setup gitlab-ce 9.0 on a vServer running Ubuntu 14.04 with Plesk 12
Recently, I had some struggle to get a GitLab instance running on my virtual server. Since I have no or minimal knowledge of configuring a server, Plesk seem to help a lot. Nevertheless, there are some differences between installing GitLab on a Plesk server and installing it on a raw apache setup.
Following steps seem to work:
1. Add your (sub-)domain in Plesk
In this example I chose the subdomain git.myVServer.com.
2. Edit apache config
Go to the config directory
Add Listen 81 to the ports.conf file
Go to the additional config file of your vhost
Add a vhost.conf with following content
(Adapted from this GitLab repo)
Apply the changes of your vhost
3. Install GitLab
Follow the GitLab-ce omnibus install instructions on this page.
Before running the GitLab reconfiguration, we have to change some settings:
and make sure the following settings are not commented out and set to:
Check if everything is fine:
Now, if everything went to plan, your GitLab instance should be running and you can reach it from