【问题标题】:gitlab what is the FQDN of my hostgitlab 我的主机的 FQDN 是什么
【发布时间】:2013-10-07 07:44:40
【问题描述】:

我正在尝试在 mac 服务器 10.8 上安装 Gitlab。我遵循一个程序,在谈论配置 Gitlab 时,他们要求将“gitlab.example.com”更改为您服务 gitlab 的主机的 FQDN。

要获得这个,我需要输入:主机名并在 gitlab.yml 中进行更改吗?

谢谢。

【问题讨论】:

    标签: gitlab fqdn


    【解决方案1】:

    你可以试试,如“How can I find the domain (fqdn) for my machine if hostname doesn't return domain info and domainname returns empty?”:

    host `hostname`
    host `hostname` | sed 's/\([^ ]*\)\ .*/\1/'
    

    或者您可以尝试使用您的 IP 地址。

    【讨论】:

      【解决方案2】:

      FQDN 是您指向服务器的基本 url,例如http:example.com 而不是 http:example.com/subdirectory/ 如果您已经有一个,一个简单的查看方法是输入less /etc/hostname 如果你没有主机名,你肯定应该有一个 IP 地址,你也可以用你的 IP 代替主机名。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2023-03-15
        • 2023-03-07
        • 1970-01-01
        相关资源
        最近更新 更多