Uses a lightweight trusty64/Parallels box. The box will be automatically downloaded from Vagrant Cloud. May work with other trusty64 base boxes, too (untested).
This box is meant to be used for pre-provisioning, as I like my VMs to be ready just when I need them. Waiting for the provisioning process to be done s***.
- Uses shell provisioning only
- No Chef, no Puppet
- Uses RVM to set up Ruby (currently 2.1.3) as default
- Installs PHP5.6, nginx, Mailcatcher, nullmailer, MariaDB, Redis, composer, Grunt.
- Includes some dotfiles (mainly
.bash-aliases
) - SSL-ready
- (defaults)
- curl
- gd
- http
- intl
- ldap
- mcrypt
- mysqlnd
- redis
- sqlite
- xdebug
- xhprof
- xmlrpc
- xsl
- (propro)
- (raphf)
- There is no MySQL root password.
- MariaDB listens on
0.0.0.0:3306
, so you may connect from your host. - Default webroot is
/vagrant/web
. - Default PHP rewrite script is
app.php
(Symfony style). - Look into
files/augeas/config/php5.augconf
if you want to edit the PHP settings.
Create a self-signed certificate (Google is your friend). Name the files server.crt
and server.key
. Save them in the files/ssl
directory. Run vagrant up
, respectively vagrant provision
. Done. You may want to use a Vagrant DNS plugin (like landrush) if you don't want to mess up your /etc/hosts
.
Per default Xdebug is configured to connect back on port 9000.
Make sure you have the latest Vagrant release, then simply run vagrant package
and re-import the resulting .box
file with vagrant box add --name <box-name> <filename>.box
.
- Add simple configuration file using yaml or something
- Make it possible to configure everything in the Vagrantfile
- Add almost similar feature set as PuPHPet has, but drastically more stable.
Thanks to Ondřej Surý and Chris Lea for their awesome PPAs!
You're welcome! :)