简体   繁体   English

找不到GitLab的资料储存库

[英]Can't find the data-store of GitLab

I just installed GitLab on my Raspberry and after hours and hours of work it's finally working, but I actually don't know why. 我刚刚在Raspberry上安装了GitLab ,经过数小时的工作终于可以了,但是我实际上不知道为什么。

The GitLab is available at my domain "www.example.com" on Port 80 在我的域“ www.example.com”上的端口80上可以使用GitLab

. But: 但:

  • There is no folder at /home/ where the "/home/gitlab/gitlab/public" content should be. / home /上没有文件夹“ / home / gitlab / gitlab / public”的内容。
  • There is no "gitlab"-config file at /etc/nginx/sites-available , only default and cnl. / etc / nginx / sites-available中没有“ gitlab” -config文件,只有default和cnl。

Maybe its colliding somehow with my OwnCloud and the Apache Server that are running. 也许它与我的OwnCloud和正在运行的Apache服务器发生了某种冲突。 I want to make my git available at git.example.com , but for that I need to know where to point my virtual-host at. 我想在git.example.com上提供我的git,但是为此,我需要知道将虚拟主机指向何处。

Gitlab runs inside its own environment. Gitlab在自己的环境中运行。 The install is normally in /opt/gitlab while the data and repositories are in /var/opt/gitlab . 安装通常在/opt/gitlab而数据和存储库在/var/opt/gitlab

Nginx config is in /opt/gitlab/embedded/conf/nginx.conf . Nginx配置位于/opt/gitlab/embedded/conf/nginx.conf

Changing of its configuration should be done in /etc/gitlab/gitlab.rb though, after which you should run gitlab-ctl reconfigure . 不过,应该在/etc/gitlab/gitlab.rb完成其配置更改,然后运行gitlab-ctl reconfigure

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM