Linux系统里GitLab升级步骤如下:
sudo gitlab-rake gitlab:backup:create命令备份数据,也可手动备份配置文件/etc/gitlab/gitlab.rb等。sudo gitlab-rake gitlab:env:info命令或访问GitLab管理界面帮助页面查看。curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash更新。sudo apt-get install gitlab-ce=<目标版本号>。sudo gitlab-ctl reconfigure和sudo gitlab-ctl restart。sudo gitlab-rake gitlab:env:info等命令检查版本及服务状态。