先說怎麼重啓mysql
一、找到BitNami gitlab的安裝目錄,我安裝在默認目錄下:/opt/gitlab-6.9.0-0git
二、運行命令:sudo ./ctlscript.sh startredis
三、而後你就會愉快的看到這個腳本在幫你慢慢重啓mysql、redis、gitlab組件和apachesql
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 的資料真的少的可憐,只有幾篇資料,仍是複製、粘貼,前篇一概的文檔。apache
今天遇到的問題是git服務器重啓,可是BitNami沒有加入啓動項,就致使了訪問個人git服務器的時候出現 「403 報錯」。服務器
在網上找了好久的文檔,就是沒發現一篇關於BitNami Gitlab 如何重啓的文檔,因而就像寫下這篇文檔,以便幫助跟我遇到一樣問題的人。app