找不到 GitLab 的数据存储
Can't find the data-store of GitLab
我刚刚在我的 Raspberry 上安装了 GitLab
,经过几个小时的工作,它终于可以工作了,但实际上我不知道为什么。
GitLab
在我的域 "www.example.com" 上可用,端口 80
。
但是:
- “/home/gitlab/gitlab/public”内容所在的 /home/ 没有文件夹。
- 在 /etc/nginx/sites-available 没有 "gitlab"-config 文件,只有默认和 cnl.
也许它以某种方式与我的 OwnCloud 和 运行 的 Apache 服务器发生冲突。
我想让我的 git 在 git.example.com 可用,但为此我需要知道将我的虚拟主机指向何处。
Gitlab 运行在它自己的环境中。安装通常在 /opt/gitlab
中,而数据和存储库在 /var/opt/gitlab
.
中
Nginx 配置在 /opt/gitlab/embedded/conf/nginx.conf
.
更改其配置应该在 /etc/gitlab/gitlab.rb
中完成,之后您应该 运行 gitlab-ctl reconfigure
.
我刚刚在我的 Raspberry 上安装了 GitLab
,经过几个小时的工作,它终于可以工作了,但实际上我不知道为什么。
GitLab
在我的域 "www.example.com" 上可用,端口 80
。 但是:
- “/home/gitlab/gitlab/public”内容所在的 /home/ 没有文件夹。
- 在 /etc/nginx/sites-available 没有 "gitlab"-config 文件,只有默认和 cnl.
也许它以某种方式与我的 OwnCloud 和 运行 的 Apache 服务器发生冲突。 我想让我的 git 在 git.example.com 可用,但为此我需要知道将我的虚拟主机指向何处。
Gitlab 运行在它自己的环境中。安装通常在 /opt/gitlab
中,而数据和存储库在 /var/opt/gitlab
.
Nginx 配置在 /opt/gitlab/embedded/conf/nginx.conf
.
更改其配置应该在 /etc/gitlab/gitlab.rb
中完成,之后您应该 运行 gitlab-ctl reconfigure
.