第一步 关闭服务
gitlab 2.6.x升级到2.7.0
原创
©著作权归作者所有:来自51CTO博客作者ppabc的原创作品,请联系作者获取转载授权,否则将追究法律责任
/etc/init.d/gitlab stop
第二部 更新代码
cd /home/gitlab/gitlab
git pull origin stable
# !!! Config should be replaced with a new one. Check it after replace
cp config/gitlab.yml.example config/gitlab.yml
# Install libs
bundle install --without development test
# update db
bundle exec rake db:migrate RAILS_ENV=production
第三步 启动服务
/etc/init.d/gitlab start
![](https://ucenter.51cto.com/images/noavatar_middle.gif)
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
虚拟机部署Ambari + HDP 2.6.X 版本
HDP的部署同CDH类似,步骤分为ambari的部署和hdp的部署,先以1台为例
大数据 hadoop spark ambari centos -
Centos 6.4 python 2.6 升级到 2.7
Centos 6.4 python 2.6 升级到 2.7分类:PythonLinux2013-09-13 21:35372
python 百度 centos 输入法 软链接