Reputation: 1364
I just installed gitlab ce on my server. It's an already apache running server.
First issue, was to change the port to not conflict with gitlab. Great.
Now, gitlab automatically created its own git user, the problem is that I already had a git user. Now each time I log in through ssh, instead of going through my regular created git user home folder, it goes into /var/opt/gitlab
.
So what's happening. Plus, the whole bash is completely different, only shows $
, I know it can be fixed with .bash_rc ~/profile
but still.
Is there anyway to fix this scramble.
Also, I have another question, Is it possible to use my apache server and configure a virtualhost instead of creating a whole new server running alongside with a different port ?
EDIT 1
For installing on apache if you have apache and therefore save resources without having 2 instance of webserver running and have a nice git.yourdomain.com
Follow this tutorial here: http://doc.gitlab.com/omnibus/settings/nginx.html#using-a-non-bundled-web-server
Upvotes: 0
Views: 2212
Reputation: 1991
See the docs about changing gitlab's default git user/group:
This link is in the gitlab.rb
config file, btw. :-)
Upvotes: 0