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

ubuntu部署gitlab-ce及数据迁移

ubuntu部署gitlab-ce及数据迁移 

进行前梳理: 在esxi7.0 Update 3 基础上使用 ubuntu22.04.5-server系统对 gitlab-ce 16.10进行部署,以及将gitlab-ee 16.9 数据进行迁移到gitlab-ce 16.10         

进行后总结: 起初安装了极狐17.8.3-jh 版本(不支持全局中文,就没用了)

                又安装了gitlab-ce 16.10.10,(和旧服务器版本不一致,备份不能恢复,又换)

                又安装了gitlab-ce 16.9.2,但和gitlab-ee 16.9.2有区别(ce和ee有区别,)。

                然后chatgpt表示gitlab严格检验版本。

                                                                

# 本文章编写的初衷是从gitlab-ee至gitlab-ce的数据迁移,如果涉及到数据迁移请保持版本一致,比如gitlab-ce 16.9.2对应 gitlab-ce 16.9.2 。

ubuntu服务器系统下载链接: 

https://mirrors.aliyun.com/ubuntu-releases/jammy/ubuntu-22.04.5-live-server-amd64.iso

gitlab-ce离线deb源       官方源: gitlab/gitlab-ce - Packages · packages.gitlab.com

https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/jammy/gitlab-ce_16.10.10-ce.0_amd64.deb/download.deb

一、系统版本与调优

调优教程源地址: Ubuntu Server 22.04 系统性能优化-CSDN博客

1.系统版本

root@qr:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.5 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.5 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy                        #特别注意jammy

2.时区设置

root@qr:~# timedatectl set-timezone Asia/Shanghai

root@qr:~# date
Wed Feb 26 04:29:29 PM CST 2025

3.更新镜像源(国内)

#源更换

cp -rf /etc/apt/sources.list /etc/apt/sources.list.bak

vim /etc/apt/sources.list

deb http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiver

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

相关文章:

  • 批量设置 Word 样式,如字体信息、段落距离、行距、页边距等信息
  • 【论文分析】语义驱动+迁移强化学习:无人机自主视觉导航的高效解决方案(语义驱动的无人机自主视觉导航)
  • JDK官网安装教程 Windows
  • MR30系列分布式I/O:高稳定与高精准赋能锂电池覆膜工艺革新
  • android 横竖屏适配工作总结
  • 离散傅里叶变换(Discrete Fourier Transform, DFT)及其在图像处理中的应用
  • 两周学习安排
  • vscode通过ssh远程连接(linux系统)不能跳转问题
  • eMMC存储器详解(存储区域结构、EXT_CSD[179]、各分区介绍、主要引脚、命令格式与类型等)
  • 洛谷 P11830 省选联考2025 幸运数字 题解
  • win11编译pytorchaudio cuda128版本流程
  • JAVA面经2
  • NLP学习记录十一:位置编码
  • CF 886A.ACM ICPC(Java实现)
  • 【音视频】H265解码Nalu后封装rtp包
  • Linux -- I/O接口,文件标识符fd、file结构体、缓冲区、重定向、简单封装C文件接口
  • 系统讨论Qt的并发编程2——介绍一下Qt并发的一些常用的东西
  • 【数据挖掘】Pandas之DataFrame
  • C++:volatile、const、mutable关键字
  • linux离线安装miniconda环境
  • 考研408数据结构线性表核心知识点与易错点详解(附真题示例与避坑指南)
  • selenium用例执行过程采集操作形成测试报告上的回复
  • 多元数据直观表示(R语言)
  • 【JavaEE】线程安全
  • HarmonyOS 5.0应用开发——多线程Worker和@Sendable的使用方法
  • 华为OD-2024年E卷-分批萨[100分]
  • SSH监控
  • leetcode日记(74)扰乱字符串
  • RV1126的OSD模块和SDL_TTF结合输出H264文件
  • GEE:计算长时间序列NPP与NDVI之间的相关系数