I\'m using Vagrant for my environment and I\'ve got a little issue:
$vagrant up
Bringing machine \'default\' up with \'virtualbox\' provider...
==> defau
edit the vagrant file created by vagrant init
in the same directory and enter the box name in the line config.vm.box = "ubuntu/trusty64"
where ubuntu/trusty64
is your base box. Now vagrant up
will download and set ubuntu/trusty64
as base box for you.
work to me these are the following steps:
cd homestead
(in your directory homestead folder) OR cd Homestead
del vagrantfile
or rm -Rf Vagrantfile
vagrant init laravel/homestead
vagrant up
you can also just add the vm to your machine
vagrant box add precise32 http://files.vagrantup.com/precise32.box
if "Vagrantfile" already exists in this directory. Remove it before running "vagrant init".
error shows then
1. rm Vagrantfile
2. vagrant init hashicorp/precise64
3. vagrant up
This work for me on Windows 10: https://stackoverflow.com/a/31594225/2400373
But it is necessary to delete the file: Vagranfile
after use the command:
vagrant init precise64 http://files.vagrantup.com/precise64.box
And after
vagrant up
With me I got an error when run vagrant up
is (I used Macbook pro, Mac OS: 10.12.1):
An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.
Couldn't open file...
I tried to delete the Vagrantfile
in my folder and run:
vagrant init hashicorp/precise64
then:
vagrant up
It can solved my problem. Hope this can help for someone who face the same problem.