Is it possible to run PHP files that are outside of Virtualbox instance?
I use Vagrant and Puppet to recreate my live VPS and I’d like to test my PHP files locally against that. I have osx so during development I use the apache server there, but I’d like to use the same php files on the virtualbox rather than copy them over. Asked by ed209 Share the directory over network (NFS, SAMBA, whatever) and mount it on the VirtualBox. Answered by Stone Check more discussion of this [...]
Continue Reading »Vagrant / puppet workflow
I’m new to puppet and vagrant, but I’m developing my own Puppet manifests intended to set up a vagrant box. That is, the puppet manifest is in my Vagrant directory on the host machine, and vagrant is invoking puppet — there is no puppet server. The thing is, my workflow is: while(not working as desired) { vagrant destroy amend manifest vagrant up } … and this means quite a lot of waiting around. What’s a [...]
Continue Reading »Vagrant set default share permissions
When running a vagrant instance the project folder is mounted on /vagrant automatically. However is mounted with the following permissions # ll -d /vagrant drwx—— 1 vagrant vagrant 612 Jun 13 14:41 /vagrant/ I need it to be mounted with (at least) 0770 but I can’t find how. If I run the mount command I see this output # mount v-root on /vagrant type vboxsf (uid=1000,gid=100,rw) I’ve tried both chmod and chown/chgrp, but they won’t [...]
Continue Reading »Unable to connect to Postgres on Vagrant Box – Connection refused
First off, I’m new to Vagrant and Postgres. I created my Vagrant instance using http://files.vagrantup.com/lucid32.box with out any trouble. I am able to run vagrant up and vagrant ssh with out issue. I followed the instructions http://blog.crowdint.com/2011/08/11/postgresql-in-vagrant.html with one minor alteration. I installed “postgresql-8.4-postgis” package instead of “postgresql postgresql-contrib” I started the server using: postgres@lucid32:/home/vagrant$ /etc/init.d/postgresql-8.4 start While connected to the vagrant instance I can use psql to connect to the instance with out issue. [...]
Continue Reading »


