当前位置: 首页 > news >正文

rpm安装gitlab

1.1 下载gitlab安装包

使用rpm包安装命令安装gitlab的rpm包,下载地址为https://packages.gitlab.com/gitlab/gitlab-ce社区版本;
推荐使用清华大学镜像:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/

在这里插入图片描述

gitlab安装包详见:day07-实战\资料\GitLab安装\rpm安装包\gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm

1.2 rpm安装gitlab

将gitlab-ce-10.0.0-ce.0.el7.x86_64.rpm包上传到centos7下,然后安装:

[root@itheima1 installPackages]# rpm -ivh gitlab-ce-14.10.2-ce.0.el7.x86_64.rpm 

效果:

警告:gitlab-ce-14.10.2-ce.0.el7.x86_64.rpm: 头V4 RSA/SHA1 Signature, 密钥 ID f27eab47: NOKEY
准备中...                          ################################# [100%]
正在升级/安装...1:gitlab-ce-14.10.2-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 reconfigureFor a comprehensive list of configuration options please see the Omnibus GitLab readme
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.mdHelp us improve the installation experience, let us know how we did with a 1 minute survey:
https://gitlab.fra1.qualtrics.com/jfe/form/SV_6kVqZANThUQ1bZb?installation=omnibus&release=14-10

1.3 配置gitlab

安装完毕后,提示信息如下:

在这里插入图片描述

编辑/etc/gitlab/gitlab.rb文件添加访问gitlab的wen路径:

在这里插入图片描述

然后刷新配置:

# 执行命令
[root@itheima1 installPackages]# gitlab-ctl reconfigure

刷新配置过程比较耗时,耐心等待,最终效果如下:

在这里插入图片描述

注意事项:

运行gitlab-ctl reconfigure指令时,如果卡顿则停止,后运行gitlab-ctl stop指令后,在重新运行gitlab-ctl reconfigure指令;

1.4 访问gitlab服务

http://192.168.200.130:9595

默认登录账号和密码为: root 5iveL!fe

可通过登录界面修改root密码,最终效果如下:

在这里插入图片描述

为: root 5iveL!fe

可通过登录界面修改root密码,最终效果如下:

[外链图片转存中…(img-kGK5OG55-1708332862331)]

http://www.lryc.cn/news/302283.html

相关文章:

  • 图论之dfs与bfs的练习
  • Vue练习5:图片的引入
  • SpringBoot+Kafka
  • 世界顶级名校计算机专业,都在用哪些书当教材?(文末送书)
  • 蓝桥杯刷题--python-8(2023 填空题)
  • Eclipse - Reset Perspective
  • 1.5v的电池电压低于多少v等于没电
  • LabVIEW智能监测系统
  • 代码随想录刷题第34天
  • AMD FPGA设计优化宝典笔记(5)低频全局复位与高扇出
  • 14. Qt 程序菜单实现,基于QMainWindow
  • 如何利用SpringSecurity进行认证与授权
  • 如何简单上手清华AutoGPT并搭建到本地环境
  • 【漏洞复现-通达OA】通达OA share存在前台SQL注入漏洞
  • HTML5 Canvas与JavaScript携手绘制动态星空背景
  • 如何优雅地与ChatGPT对话?
  • AI提示工程实战:从零开始利用提示工程学习应用大语言模型【文末送书-19】
  • 量子算法入门——3.狄拉克符号与量子态(3)
  • c++ STL系列——(三)list
  • 软考29-上午题-排序
  • 【详细流程】vue+Element UI项目中使用echarts绘制圆环图 折线图 饼图 柱状图
  • Unity之XR Interaction Toolkit如何在VR中实现一个可以拖拽的UI
  • 开源项目热度榜单
  • Ubuntu系统搭建HadSky论坛并结合内网穿透实现无公网ip远程访问
  • gowin GW1N4 LED
  • Linux ipvlan详解(l2、l3、l3s和bridge、private和vepa模式)
  • 理解并实现OpenCV中的图像平滑技术
  • ChatGPT高效提问—prompt实践(白领助手)
  • Code Composer Studio (CCS) - Comment (注释)
  • springboot/ssm校园菜鸟驿站管理系统Java校园快递取件管理系统