zoukankan      html  css  js  c++  java
  • gitlab升级方法

    gitlab升级方法:国内网络环境推荐方法二
    方法一:官网的升级方式
    (1)停止git服务
      gitlab-ctl stop unicorn
      gitlab-ctl stop sidekiq
      gitlab-ctl stop nginx
      也可以用一条命令搞定:gitlab-ctl stop
    (2)下载升级脚本:
      curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
    (3)运行升级命令
      sudo yum install gitlab-ce
    方法二:centos环境下,下载rpm包.
    (1)停止git服务
      gitlab-ctl stop unicorn
      gitlab-ctl stop sidekiq
      gitlab-ctl stop nginx
      也可以用一条命令搞定:gitlab-ctl stop
    (2)备份数据,防止数据升级失败,数据丢失
      gitlab-rake gitlab:backup:create
    (3)安装升级包
      rpm -Uvh gitlab-7.13.1_omnibus-1.el6.x86_64.rpm
    (4)重新载入配置文件:
      gitlab-ctl reconfigure
    (5)重启git服务
      gitlab-ctl restart

  • 相关阅读:
    数据取证任务
    VMware虚拟机重置密码
    pon(无源光纤网络)
    Gpon与Epon的区别
    DNS相关
    牛人博客收集
    值得细细品读的URL资源
    SQL注入
    IPSec方案部署(多业务场景)
    python专题-函数式编程
  • 原文地址:https://www.cnblogs.com/Cilimer/p/4704851.html
Copyright © 2011-2022 走看看