## 如何重啟或關閉服務?
一旦使用Omnibus包安裝之后,實際上等于集成了命令控制臺。常見命令包括:
```
# Start all GitLab components
sudo gitlab-ctl start
# Stop all GitLab components
sudo gitlab-ctl stop
# Restart all GitLab components
sudo gitlab-ctl restart
# Restart Nginx
sudo gitlab-ctl restart nginx
```
Note that on a single-core server it may take up to a minute to restart Unicorn and Sidekiq. Your GitLab instance will give a 502 error until Unicorn is up again.
It is also possible to start, stop or restart individual components.
```
sudo gitlab-ctl restart sidekiq
```
Unicorn supports zero-downtime reloads. These can be triggered as follows:
```
sudo gitlab-ctl hup unicorn
```
Note that you cannot use a Unicorn reload to update the Ruby runtime.
更多命令:[https://docs.gitlab.com/omnibus/maintenance/README.html#starting-and-stopping](https://docs.gitlab.com/omnibus/maintenance/README.html#starting-and-stopping)
- 關于本書
- 獲取一鍵安裝包
- GitLab
- GitLab介紹及演示
- GitLab鏡像說明
- GitLab自定義安裝
- GitLab實用教程
- GitLab如何綁定域名?
- GitLab如何發送郵件?
- GitLab如何設置HTTPS?
- GitLab備份
- GitLab升級
- GitLab服務啟停
- GitLab常見問題
- 附:常用賬號與密碼說明
- 參:歷史版本鏡像說明
- Gogs
- Gogs介紹及演示
- Gogs鏡像說明
- Gogs自定義安裝
- Gogs實用教程
- Gogs如何綁定域名?
- Gogs如何發送郵件?
- Gogs如何設置HTTPS?
- Gogs備份
- Gogs升級
- Gogs常見問題
- Gogls服務啟停
- 附:常用賬號與密碼說明
- Redmine
- Redmine介紹及演示
- Redmine鏡像說明
- Redmine自定義安裝
- Redmine實用教程
- Redmine如何安裝插件?
- Redmine如何綁定域名?
- Redmine如何發送郵件?
- Redmine如何設置HTTPS?
- Redmine服務啟停
- Redmine備份
- Redmine升級
- Redmine常見問題
- 附:常用賬號與密碼說明
- ZenTaoPMS(禪道)
- ZenTaoPMS介紹及演示
- ZenTao鏡像說明
- ZentaoPMS自定義安裝
- ZentaoPMS實用教程
- ZentaoPMS如何發送郵件?
- ZentaoPMS如何設置HTTPS?
- ZentaoPMS如何安裝插件?
- ZentaoPMS備份
- ZentaoPMS升級
- ZentaoPMS常見問題
- 附:常用賬號與密碼說明
- MantisBT
- MantisBT介紹及演示
- MantisBT鏡像說明
- MantisBT自定義安裝
- MantisBT實用教程
- MantisBT如何發送郵件?
- MantisBT如何設置HTTPS?
- MantisBT備份
- MantisBT升級
- MantisBT常見問題
- 附:常用賬號與密碼說明
- 備份
- 升級
- 域名管理
- 域名解析
- 域名綁定
- 云服務器操作
- Linux:登錄與文件管理(SFTP)
- Windows:遠程桌面與文件管理
- 安全組設置
- 快照備份
- 附:常見Linux命令操作