前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >rpm包部署gitlab

rpm包部署gitlab

作者头像
章工运维
发布2024-03-28 09:50:30
860
发布2024-03-28 09:50:30
举报
文章被收录于专栏:章工运维章工运维

# 参考文档

安装文档:https://docs.gitlab.com/omnibus/installation/ rpm软件包地址:gitlab/gitlab-ce - Packages · packages.gitlab.com (opens new window) 国内下载地址: gitlab-ce | 镜像站使用帮助 | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror (opens new window)

# rpm包安装

# 一键在线安装

参考文档:gitlab/gitlab-ce - Installation · packages.gitlab.com (opens new window)

# 离线安装

代码语言:javascript
复制
[root@tiaoban gitlab]# wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/8/gitlab-ce-15.7.9-ce.0.el8.x86_64.rpm/download.rpm
[root@tiaoban gitlab]# ls
gitlab-ce-15.7.9-ce.0.el8.x86_64.rpm
[root@tiaoban gitlab]# dnf -y install gitlab-ce-15.7.9-ce.0.el8.x86_64.rpm
[root@tiaoban gitlab]# vim /etc/gitlab/gitlab.rb # 编辑站点地址
32 external_url 'http://192.168.10.100'
[root@tiaoban gitlab]# gitlab-ctl reconfigure # 配置

登录web页面

获取默认密码

代码语言:javascript
复制
[root@tiaoban gitlab]# cat /etc/gitlab/initial_root_password
# WARNING: This value is valid only in the following conditions
#          1. If provided manually (either via `GITLAB_ROOT_PASSWORD` environment variable or via `gitlab_rails['initial_root_password']` setting in `gitlab.rb`, it was provided before database was seeded for the first time (usually, the first reconfigure run).
#          2. Password hasn't been changed manually, either via UI or via command line.
#
#          If the password shown here doesn't work, you must reset the admin password following https://docs.gitlab.com/ee/security/reset_user_password.html#reset-your-root-password.

Password: XsxXm07NOya6YBDnUHAFszBTKRvcF77buwIOegX5T+I=

# NOTE: This file will be automatically deleted in the first reconfigure run after 24 hours.

原文链接 (opens new window)

本文参与?腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2024-03-14,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客?前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与?腾讯云自媒体分享计划? ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • # 参考文档
  • # rpm包安装
    • # 一键在线安装
      • # 离线安装
      领券
      问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档


      http://www.vxiaotou.com