[系統部署] Gitlab 常用指令
紀錄Gitlab Server 常用的指令
重製設定
1 | gitlab-ctl reconfigure |
1 | gitlab-ctl start |
1 | gitlab-ctl stop |
1 | yum update gitlab-ee |
1 | gitlab-rake gitlab:backup:create |
1 | /etc/gitlab/gitlab.rb #配置文件須備份 |
1 | mkdir -p /mnt/gitlab/backups |
1 | gitlab-ctl stop unicorn |
502錯誤排解
1 | vi /etc/gitlab/gitlab.rb |