gitlab RPM卸载 & 安装

版本:9.0.3

升级版本:9.0.13

一,停止服务

gitlab-ctl stop unicorn
gitlab-ctl stop sidekiq
gitlab-ctl stop nginx

二,备份

gitlab-rake gitlab:backup:create

rpm -e gitlab-ce-9.0.3-ce.0.el7.x86_64  =====》卸载旧版gitlab

三,下载新版RPM ===》使用清华开源镜像网站

https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/

rpm -ivh gitlab-ce-9.0.13-ce.0.el7.x86_64.rpm

四,更改配置文件

vim /etc/gitlab/gitlab.rb

external_url 'http://10.2.177.57:8090'

保存退出

五,启动服务

gitlab-ctl reconfigure

gitlab-ctl start

猜你喜欢

转载自www.cnblogs.com/zy1234567/p/9976904.html
今日推荐