Vagrant did not install Apache2 nor php -


i created configuration file (it's zip actually) vm on puphpet.com, downloaded zip, extracted it. run vagrant up in folder located vagrantfile. vm correctly setup under virtualbox, runs , shared folders working.

however when access vm host, using 127.0.0.1:7893 displays : ssh-2.0-openssh_6.0p1 debian-4. weired since checked both install php , install apache on puphpet. decided verify existance on vm : which apache2, whereis php etc.

nothing returned.

so appearently php , apache2 have not been installed, though config.yaml file (that created on puphpet) did specify install both php , apache2.

at point, don't know (i'm new php/vagrant/puphpet) :

  • should install them myself on vm apt-get ?
  • ??

edit: during installation process (vagrant up), errors :

err http://http.us.debian.org/debian/ wheezy/main linux-headers-3.2.0-4-amd64 d64 3.2.51-1   404  not found [ip: 64.50.233.100 80] fetched 238 kb in 1s (167 kb/s) failed 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: 'solved' problem using differents virtual machine.

edit: during installation process (vagrant up), errors : ....

check packages db in vm date. run

sudo apt-get update  

and try again apache2 , php installation.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -