gitlab 2.7版本升级到2.8
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                gitlab 2.7版本升级到2.8
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.                        
                                ?第一步 關(guān)閉服務(wù)
/etc/init.d/gitlab stop 第二部 更新代碼 cd /home/gitlab/gitlab # Get latest code sudo -u gitlab git pull origin stable # Install libs sudo -u gitlab bundle install --without development test # update db sudo -u gitlab bundle exec rake db:migrate RAILS_ENV=production # update gitolite hooks sudo cp ./lib/hooks/post-receive /home/git/share/gitolite/hooks/common/post-receive sudo chown git:git /home/git/share/gitolite/hooks/common/post-receive # Check app status sudo -u gitlab bundle exec rake gitlab:app:status RAILS_ENV=production 第三步 啟動服務(wù) /etc/init.d/gitlab start 本文轉(zhuǎn)自 ppabc ?51CTO博客,原文鏈接:http://blog.51cto.com/ppabc/999726總結(jié)
以上是生活随笔為你收集整理的gitlab 2.7版本升级到2.8的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 梦到在地里捡花生吃是什么意思
- 下一篇: 当javaScript从入门到提高前需要
