Install GitLab on a dedicated virtual server

3 posts / 0 new
Last post
#1 Fri, 06/14/2019 - 10:11
jlgarnier

Install GitLab on a dedicated virtual server

Dear Community,

I'm stuck at what I first thought to be a simple task: - I've created a dedicated virtual server to host the GitLab application: git.mydomain.com - I now want to install the GitLab package on this virtual server, so I can access it through https://git.mydomain.com.

I just can't find any documentation to do this! I already managed to install the whole stuff once (everything OK), using a root SSH access via console, but obviously, the package didn't install in git.mydomain.com, so there's nothing at /home/myadmin/domains/git.bcasmart.com/www/ ... :-(

Moreover, any connection returns "You don't have permission to access / on this server.". I don't know if this error is related to the wrong installation...

Can anyone bring some light on this installation process? Should I build my own "installation script" as mentioned somewhere in the doc?

Thanks in advance for any help!

Fri, 06/14/2019 - 14:17
m1ngaa
m1ngaa's picture

Have you created the git. sub server using the VirtualMin?

I'd refer to https://stackoverflow.com/questions/27012226/install-gitlab-on-subdomain assuming you have the DNS record in VirtualMin :)

Tue, 06/18/2019 - 07:25
jlgarnier

Hi m1ngaa and thanks for your quick answer!

I've already created the subserver and updated the DNS entries to point on git.mydomain.com. Is there any DNS configuration I should also apply through Virtualmin?

By the way, from what I read on StackOverflow (thanks for the link), gitlab will always install where it wants, all I can do is configure the application to listen the required URL (external_url "https://gitlab.mydomain.com"), so everything is done at the gitlab level. Am I right?

Thanks again for your help!

Best regards, Jean-Luc GARNIER

Topic locked