ubuntu部署gitlab-ce及数据迁移

打印 上一主题 下一主题

主题 890|帖子 890|积分 2670

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

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

杀鸡焉用牛刀

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表