vagrant init ubuntu/trusty64
然后编辑 Vagrantfile,按照 GitLab的需求 (opens new window) 调整一下虚拟鸡配置:(若不调整,GitLab 会报500 ¬_¬)
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "public_network"
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
vb.cpus = 2
end
end
https://about.gitlab.com/downloads/ (opens new window)
/opt/gitlab/embedded/service/gitlab-rails/