A VERY simple Apache2/PHP7 environment provisioner for Vagrant.
- Creates a running Apache2/PHP7 development environment with a few simple commands.
- Runs on CentOS 7 \w PHP7, MariaDB 5.5, Apache 2.2
Prerequisites
- Install VirtualBox
- Install Vagrant
- Clone or download this repository to the root of your project directory
git clone https://github.com/miguelbalparda/simple-php7-vagrant-centos.git
- In your project directory, run
vagrant up
The first time you run this, Vagrant will download the bare CentOS box image. This can take a little while as the image is a few-hundred Mb. This is only performed once.
Vagrant will configure the base system before downloading Magento and running the installer.
- In your browser, head to
127.0.0.1:8080
- You should see the default Wordpress installation process
- Database name is wp, user = wp / password = password
Full Vagrant command documentation
Why no Puppet/Chef? Admittedly, Puppet and Chef are excellent solutions for predictable and documented system configurations. The emphasis for this provisioner is on unopinionated simplicity. There are some excellent Puppet / Chef Magento configurations on Github with far more bells and whistles.
Original VM Simple Magento Vagrant
Known issues
If you see the Create configuration file screen when accesing http://127.0.0.1:8080/index.php restart apache and it should go away.