Vagrant LAMP Stack provisioning

Additionally to my fully functional development environment described here, I want to have some more programs.

For example

  • vim
  • composer (global install)
  • php sqlite support

To have these installed automatically, I create a bootstrap.sh file in the same directory like the Vagrantfile.

Here is the content:

Then I open the Vagrantfile to add the bootstrap.sh excecution.

In combination with my default setup, my Vagrantfile looks like this:

Here are more information about provisioning: https://docs.vagrantup.com/v2/getting-started/provisioning.html

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.