先說怎么重啟
1、找到BitNami gitlab的安裝目錄,我安裝在默認目錄下:/opt/gitlab-6.9.0-0
2、運行命令:sudo ./ctlscript.sh start
3、然后你就會愉快的看到這個腳本在幫你慢慢重啟mysql、redis、gitlab組件和apache
140709 15:21:52 mysqld_safe Logging to '/opt/gitlab-6.9.0-0/mysql/data/mysqld.log'. 140709 15:21:52 mysqld_safe Starting mysqld.bin daemon with databases from /opt/gitlab-6.9.0-0/mysql/data /opt/gitlab-6.9.0-0/mysql/scripts/ctl.sh : mysql started at port 3306 /opt/gitlab-6.9.0-0/redis/scripts/ctl.sh : redis started at port 6379 /opt/gitlab-6.9.0-0/apps/gitlab/scripts/sidekiq.sh : gitlab_sidekiq started /opt/gitlab-6.9.0-0/apps/gitlabci/scripts/sidekiq.sh : gitlabci_sidekiq started /opt/gitlab-6.9.0-0/apps/gitlabci/scripts/runner.sh : gitlabci_runner started Syntax OK /opt/gitlab-6.9.0-0/apache2/scripts/ctl.sh : httpd started at port 80
發現在網上關於BitNami 的資料真的少的可憐,只有幾篇資料,還是復制、粘貼,前篇一律的文檔。
今天遇到的問題是git服務器重啟,但是BitNami沒有加入啟動項,就導致了訪問我的git服務器的時候出現 “403 報錯”。
在網上找了很久的文檔,就是沒發現一篇關於BitNami Gitlab 如何重啟的文檔,於是就像寫下這篇文檔,以便幫助跟我遇到同樣問題的人。