簡體   English   中英

如何在Ubuntu上安裝帶有Virtualbox和Vagrant的Gitlab

[英]How to install Gitlab with Virtualbox and Vagrant on Ubuntu

我不知道如何在Ubuntu上安裝帶有Virtualbox和Vagrant的Gitlab。我完全迷失了,並沒有從在線研究中得到任何東西。

請幫我..

感謝致敬。

GitLab首席執行官在這里。 您可以在虛擬機中安裝Omnibus軟件包,這是2分鍾的工作,請參閱https://about.gitlab.com/downloads/

如果您想自動安裝Omnibus軟件包,請在https://about.gitlab.com/installation/上列出社區Vagrant選項。

不再支持也不建議使用cookbook或virtualbox映像。

您無需從頭開始執行此操作,只需使用提供的Gitlab Virtualbox映像即可。

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

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

使用vagrant訪問虛擬機:

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

在vagrant文​​件中:

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服務器,您可以登錄Gitlab網站http://33.33.33.10

已經使用用戶名“admin@local.host”和密碼“5iveL!fe”設置了GitLab管理員登錄。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM