Jump to content
Sign in to follow this  
Bruno Ferreira da Silva

Instalando Vagrant + Laravel 5.1

Recommended Posts

Estou tentando aprender o framework Laravel, mas nem estou conseguindo iniciar o ambiente virtual, sempre quando dou o comando vagrant up, sempre para nessa tela...

 

img.png

Oque pode está acontecendo? me ajudem por favor :(

 

 

 

 

 

e tbm as vezes aparece essa outra tela aqui:

 

img2.png

Share this post


Link to post
Share on other sites

Arquivo vagrantfile.

Vagrant.configure("2") do |config|
	
   config.vm.provider "virtualbox" do |vb|
	vb.gui = true
   end   
   config.ssh.username = "root"
   config.ssh.password = "vagrant"


    config.vm.box = "ubuntu-server-14.04"
  config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
    config.vm.network :forwarded_port, guest: 80, host: 2222
    #config.vm.network :private_network, ip: "192.168.56.1"
    config.vm.synced_folder "www/", "/var/www", owner: "www-data", group: "www-data", mount_options: ['dmode=777','fmode=666']
    config.vm.synced_folder "~", "/vagrant", owner: "vagrant", group: "vagrant"
    config.vm.provider "virtualbox" do |machine|
    	machine.memory = 512
    	machine.name = "ubuntu-server-php"
    end
    config.vm.provision :shell, path: "setup.sh"	
end

Share this post


Link to post
Share on other sites

Qual versão do Windows você usa?

 

Eu uso Hyper-v do próprio windows pra configura minhas vm, caso seja windows >= 7

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

Ao usar o fórum, você concorda com nossos Terms of Use.