Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is GitLab installed on Ubuntu 14.04?

GitLab was installed by following instructions at https://about.gitlab.com/downloads/ on Ubuntu Server 14.04 but I can't find the install directory. It's commonly said to be in /home/git/ or /home/gitlab/ but neither exist.

I need to find the install directory so I can setup SMTP (RE https://gist.github.com/petermanser/6117494) and migrate existing repositories into GitLab.

Does anyone know where GitLab would be installed on Ubuntu Server 14.04 if not /home/git/ or /home/gitlab/?

like image 317
Rich Jenks Avatar asked Jul 11 '14 09:07

Rich Jenks


2 Answers

  • Config files are in etc/gitlab
  • Data is stored in /var/opt/gitlab

Thanks to Bjorn for finding the locations and Pavel S for providing cat /etc/passwd | grep git for finding the home directory of a given user!

like image 117
Rich Jenks Avatar answered Oct 23 '22 09:10

Rich Jenks


To find a user's home directory do

$ cd ~git

you will be in that users directory. :D

like image 20
Varun Nambiar Avatar answered Oct 23 '22 09:10

Varun Nambiar