I just created a configuration file (it's a zip actually) for my vm on puphpet.com, downloaded the zip, extracted it. Then I run vagrant up
in the folder where is located the vagrantfile
. The vm is correctly setup under virtualbox, it runs well and the shared folders are working.
However when I access my vm from the host, using 127.0.0.1:7893
it displays : SSH-2.0-OpenSSH_6.0p1 Debian-4
. Which is weired since I checked both install php
and install apache
on puphpet.
I decided to verify their existance on the vm : which apache2
, whereis php
etc.
Nothing was returned.
So appearently php
and apache2
have not been installed, even though the config.yaml
file (that I created on puphpet) did specify to install both php and apache2.
At this point, I don't really know what to do (I'm new to php/vagrant/puphpet) :
- should I install them myself on the vm with apt-get ?
- ??
EDIT: during the installation process (vagrant up), I get errors like :
Err http://http.us.debian.org/debian/ wheezy/main linux-headers-3.2.0-4-amd64 am
d64 3.2.51-1
404 Not Found [IP: 64.50.233.100 80]
Fetched 238 kB in 1s (167 kB/s)
Failed to fetch http://http.us.debian.org/debian/pool/main/l/linux/linux-headers
-3.2.0-4-common_3.2.51-1_amd64.deb 404 Not Found [IP: 64.50.233.100 80]
EDIT2: I 'solved' the problem by using a differents virtual machine.