This is a really basic Vagrant machine, to test HHVM. It will also contain Nginx (as the front server for HHVM) and MySQL. It is provisioned by Puppet and Shell. Shell provisioner is used to add the apt Puppet Module since I use apt to properly install HHVM.
Also, the Puppet module used to install HHVM is hard coded with the version to make sure Puppet uses
--force-yes when installing.
You can use this machine for whatever you desire, or to get to know HHVM in a very small environment.
Do note that the machine might be lacking many things, since I am just getting to know HHVM. The configuration files for the services are basic and not tuned for anything.
- Make sure you have VirtualBox.
- Install Vagrant.
- Clone this repository or download it as a zip.
- Add an entry in your host file for
sf.hhvmand with IP
- In the terminal, go to the folder where you cloned or unzipped the files and type
Step 4 is important because Nginx is configured to deny all anonymous requests, and only pass the request to HHVM by server name.