gitlab下载,离线安装

目录

1.下载

2.安装

3.配置

4.启动

5.登录

参考:


1.下载

根据服务器操作系统版本,下载对应的RPM包。

The DevSecOps Platform | GitLab

gitlab/gitlab-ce - Results in gitlab/gitlab-ce

Index of /gitlab-ce/yum/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror

2.安装

安装命令如下:

bash 复制代码
rpm -ivh gitlab-ce-16.4.3-ce.0.el7.x86_64.rpm

安装完成截图如下:

3.配置

打开/etc/gitlab/gitlab.rb文件, 修改 external_url 为服务器本地IP地址

bash 复制代码
vim /etc/gitlab/gitlab.rb

将 external_url 'http://gitlab.example.com

修改为: external_url 'http://10.54.183.53'

其中10.54.183.53 为服务器本地IP地址

4.启动

  • 运行重新配置命令
bash 复制代码
gitlab-ctl reconfigure

配置完成截图:

  • 查看运行状态:
bash 复制代码
gitlab-ctl status

截图如下:

5.登录

  • 查看临时密码:

打开 /etc/gitlab/initial_root_password文件, 查看 Password

bash 复制代码
cat /etc/gitlab/initial_root_password

截图如下:

  • 打开浏览器输入网址

http://10.54.183.53/

通过root 用户和上面文件中的临时密码登录

成功登录页面:

参考:

The DevSecOps Platform | GitLab

gitlab安装及使用教程 - 知乎

gitlab(骨灰级入门)-CSDN博客

相关推荐
中国lanwp15 小时前
GitLab 按访问IP动态切换项目下载/克隆地址原理与配置说明
网络协议·tcp/ip·gitlab
heimeiyingwang20 小时前
【架构实战】Jenkins+GitLab CI/CD:持续集成与持续部署实践
架构·gitlab·jenkins
ASKED_20192 天前
GitLab CI|CD 配置笔记
笔记·ci/cd·gitlab
木雷坞3 天前
csdn-enterpriseGitLab Runner docker pull 慢:并行流水线镜像拉取排查
运维·docker·容器·gitlab
一只大袋鼠3 天前
Git (三):Tag 标签管理、图形工具、IDEA 集成与 GitLab 私有化部署
开发语言·git·gitlab
Lyra_Infra6 天前
故障排查报告:GitLab 18.11.3 后台 Settings 500
gitlab
Mike_6668 天前
git@gitlab-rdc.xxxxx.com: Permission denied (publickey).fatal: 无法读取远程仓库。
git·elasticsearch·gitlab
雨声不在10 天前
gitlab ci Runner 配置
gitlab·cicd
曾庆睿12 天前
【基于 RHEL 9.3 的 K8s + GitLab 全自动化部署环境搭建第一篇】
kubernetes·自动化·gitlab
曾庆睿12 天前
【基于 RHEL 9.3 的 K8s + GitLab 全自动化部署环境搭建第二篇】
kubernetes·自动化·gitlab