2012-09-04 77 views

回答

6

您不需要從頭開始,只需使用提供的Gitlab Virtualbox圖像即可。

參考https://github.com/gitlabhq/gitlabhq/wiki/VirtualBox-Image

下載可在http://minus.com/m55CpmY6C/找到的Virtualbox圖像。

訪問虛擬機與流浪者:

vagrant box add gitlab /path/to/the/GITLAB-UBUNTU-SERVER-10.04-I386.box 
vagrant init gitlab 
vagrant up 

在顛沛流離的文件:

Vagrant::Config.run do |config| 
    config.vm.box = "gitlab" 
    config.vm.network :hostonly, "33.33.33.10" 
end 

要登錄到無業遊民:

vagrant ssh 

要重新啓動和升級Gitlab Web服務器:

cp gitlabhq/config/gitlab.yml{.example,} 
cp gitlabhq/config/database.yml{.example,} 
./restart_and_upgarde_gitlabhq 

啓動的Gitlab服務器,你可以在http://33.33.33.10

一個GitLab管理員登錄登錄到Gitlab網站已經設置了用戶名「[email protected]」和密碼「5iveL!FE」。

+0

非常感謝,我設法讓這個工作。你的回答很有幫助。再次感謝。 – Sid

11

GitLab首席執行官在這裏。你可以只安裝的綜合性包在你的虛擬機,這是工作的2分鐘,看到https://about.gitlab.com/downloads/

如果你想擁有的綜合性軟件包安裝自動有一個社區流浪選項上https://about.gitlab.com/installation/

的食譜上市或虛擬機鏡像不再被支持或推薦。

+0

顯然,這本食譜已被棄用[cookbook-omibus-gitlab](https://gitlab.com/gitlab-org/cookbook-omnibus-gitlab),但截至目前,自述文件相當乏善可陳。 – gregoltsov

相關問題