👋 欢迎来到吴老二技术博客,专注运维 / 数据库 / 云原生
首页/DevOps/正文

gitlab安装报错

吴
吴老二
2020-04-03DevOps12831 次浏览0 条评论
安装gitlab时,使用rpm安装,提示错误:
[root@www.wulaoer.org ~]# rpm -ivh gitlab-ce-12.0.0-ce.0.el7.x86_64.rpm 
警告:gitlab-ce-12.0.0-ce.0.el7.x86_64.rpm: 头V4 RSA/SHA1 Signature, 密钥 ID f27eab47: NOKEY
错误:依赖检测失败:
        policycoreutils-python 被 gitlab-ce-12.0.0-ce.0.el7.x86_64 需要
这个错误提示,是因为gitlab安装时需要依赖policycoreutils-python。所以需要先安装policycoreutils-python,在安装gitlab-ce-12.0.0-ce.0.el7.x86_64
[root@www.wulaoer.org ~]# yum install policycoreutils-python -y
安装成功之后,在继续安装gitlab
[root@www.wulaoer.org ~]# rpm -ivh gitlab-ce-12.0.0-ce.0.el7.x86_64.rpm 
警告:gitlab-ce-12.0.0-ce.0.el7.x86_64.rpm: 头V4 RSA/SHA1 Signature, 密钥 ID f27eab47: NOKEY
准备中...                          ################################# [100%]
正在升级/安装...
   1:gitlab-ce-12.0.0-ce.0.el7        ################################# [100%]
It looks like GitLab has not been configured yet; skipping the upgrade script.

       *.                  *.
      ***                 ***
     *****               *****
    .******             *******
    ********            ********
   ,,,,,,,,,***********,,,,,,,,,
  ,,,,,,,,,,,*********,,,,,,,,,,,
  .,,,,,,,,,,,*******,,,,,,,,,,,,
      ,,,,,,,,,*****,,,,,,,,,.
         ,,,,,,,****,,,,,,
            .,,,***,,,,
                ,*,.
  


     _______ __  __          __
    / ____(_) /_/ /   ____ _/ /_
   / / __/ / __/ /   / __ `/ __ \
  / /_/ / / /_/ /___/ /_/ / /_/ /
  \____/_/\__/_____/\__,_/_.___/
  

Thank you for installing GitLab!
GitLab was unable to detect a valid hostname for your instance.
Please configure a URL for your GitLab instance by setting `external_url`
configuration in /etc/gitlab/gitlab.rb file.
Then, you can start your GitLab instance by running the following command:
  sudo gitlab-ctl reconfigure

For a comprehensive list of configuration options please see the Omnibus GitLab readme
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
gitlab才算安装成功,gitlab的问题先说到这了。如果以后有其他的问题在另外说明。
文章底部广告位在后台「广告设置」填写广告代码后显示

评论 0

评论需 登录 后发表(注册并验证邮箱)。
还没有评论,来抢沙发~