gitlab迁移

下载地址 安装

https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-12.6.2-ce.0.el7.x86_64.rpm/download.rpm

yum -y install gitlab-ce-12.6.2-ce.0.el7.x86_64.rpm

官方文档

https://docs.gitlab.cn/jh/raketasks/backup_restore.html#restore-gitlab

参考这个文档绝大多数问题都解决了

gitlab-ctl reconfigure
gitlab-ctl restart

如果起不来
看是不是端口问题

https://docs.gitlab.com/omnibus/troubleshooting.html#tcp-ports-for-gitlab-services-are-already-taken

端口被谁占用

lsof -i tcp:8080

告知客户端如何切换remote

git remote set-url origin http://ip:8090/msh/peripheral/drools/code/drools-bm-backend.git
然后git pull

Find / -name node_exporter

找到文件

你可能感兴趣的:(gitlab)