Gitlab Pages daemon, where is /home/git?

萝らか妹 提交于 2019-12-12 05:40:22

问题


I'm trying to include SSL on my gitlab pages site, and it says I need to first install the Pages daemon. However, I'm not sure where to start: is cd /home/git a home directory on my Mac where I'm supposed to have git installed?

When I do git --version it says git version 2.7.4 (Apple Git-66) however I'm not seeing a folder "git" inside my home directory. Any ideas on how I'd get into the /home/git folder?


回答1:


\o/ Great! I got this certificate from StartSSL Class 1, check this tutorial to know how did I do this: https://about.gitlab.com/2016/06/24/secure-gitlab-pages-with-startssl/.

The free domain name I got from here: http://www.freenom.com/.

You can have them working together in a blink of your eyes! ;)

Also, you can use CloudFlare certs, the tricky part is explained here: https://gitlab.com/pages/pages.gitlab.io/issues/21

Hope it helps! Let me know if you need anything else.

You can always ask creating an issue here:https://gitlab.com/pages/pages.gitlab.io/issues/new - feel free to mention me directly if you want (@virtuacreative) :)




回答2:


The GitLab omnibus installation has a different home directory for the user git. By default this directory is /var/opt/gitlab. You check check if the directory has changed either by checking the gitlab.rb config and search the key user['home'] or do a cat /etc/passwd | grep git and find the home directory there.



来源:https://stackoverflow.com/questions/37889365/gitlab-pages-daemon-where-is-home-git

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!