章工运维 章工运维
首页
  • linux
  • windows
  • 中间件
  • 监控
  • 网络
  • 存储
  • 安全
  • 防火墙
  • 数据库
  • 系统
  • docker
  • 运维工具
  • other
  • elk
  • K8S
  • ansible
  • Jenkins
  • GitLabCI_CD
  • 随笔
  • 面试
  • 工具
  • 收藏夹
  • Shell
  • python
  • golang
友链
  • 索引

    • 分类
    • 标签
    • 归档
    • 首页 (opens new window)
    • 关于我 (opens new window)
    • 图床 (opens new window)
    • 评论 (opens new window)
    • 导航栏 (opens new window)
周刊
GitHub (opens new window)

章工运维

业精于勤,荒于嬉
首页
  • linux
  • windows
  • 中间件
  • 监控
  • 网络
  • 存储
  • 安全
  • 防火墙
  • 数据库
  • 系统
  • docker
  • 运维工具
  • other
  • elk
  • K8S
  • ansible
  • Jenkins
  • GitLabCI_CD
  • 随笔
  • 面试
  • 工具
  • 收藏夹
  • Shell
  • python
  • golang
友链
  • 索引

    • 分类
    • 标签
    • 归档
    • 首页 (opens new window)
    • 关于我 (opens new window)
    • 图床 (opens new window)
    • 评论 (opens new window)
    • 导航栏 (opens new window)
周刊
GitHub (opens new window)
  • ansible系列文章

  • Kubernetes笔记

  • elk

  • jenkins

  • GitLabCI_CD

    • Gitlab ci与Jenkins对比
    • GitLabRunner简介
    • GitLabRunner安装
    • GitLabRunner注册
    • Runner-命令
    • 运行流水线任务
    • 集成构建工具
    • 制品库集成
    • 按时间统计GitLab所有用户代码提交量
    • gitlab ci部署web程序示例
    • gitlab部署

      • docker部署gitlab
      • rpm包部署gitlab
        • 一键在线安装
        • 离线安装
      • k8s yaml部署gitlab
  • 专题
  • GitLabCI_CD
  • gitlab部署
章工运维
2024-03-14
目录

rpm包部署gitlab

# 参考文档

安装文档: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)

# 离线安装

[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 # 配置
1
2
3
4
5
6
7

登录web页面

获取默认密码

[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.
1
2
3
4
5
6
7
8
9
10

原文链接 (opens new window)

微信 支付宝
上次更新: 2025/02/07, 17:21:54

← docker部署gitlab k8s yaml部署gitlab→

最近更新
01
shell脚本模块集合
05-13
02
生活小技巧(认知版)
04-29
03
生活小技巧(防骗版)
04-29
更多文章>
Theme by Vdoing | Copyright © 2019-2025 | 点击查看十年之约 | 鄂ICP备2024072800号
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式