A basic Media Temple (mt) DV 4.5 Vagrant setup. The goal for this project is to setup a development environment that mirrors the (mt) DV production servers. It will be an ongoing project that aligns with (mt)'s provisioning.
- VirtualBox - Virtualization software Download Virtualbox
- Vagrant 1.4+ - Development environments made easy Download Vagrant
- Git - Source Control Management Download Git
- Clone this repository
git clone https://github.com/weareloring/vagrant-mediatemple-dv-4.5.git
or download the zip file and extract it. - Run
vagrant up
from the newly created directory (the first time you runvagrant up
it will need to fetch the virtual box image which is 769MB so this could take some time. Subsequent runs will only take a minute or so) - Vagrant will then use Puppet to provision a LAMP stack on the box (again, the first run will take some time but any runs after that will be very quick)
- You can verify that the server is up and running by hitting http://11.11.11.15 or http://localhost:8080 in your browser.
Some basic information on vagrant and the development server
vagrant up
starts the virtual machine and provisions itvagrant suspend
will essentially put the machine to 'sleep' withvagrant resume
waking it back upvagrant halt
attempts a graceful shutdown of the machine and will need to be brought back withvagrant up
vagrant ssh
gives you shell access to the virtual machine
Visit the Vagrant website for detailed documentation.
- 11.11.11.15
- 8080 - Apache
- 8081 - MySQL
- User: root
- Password: (blank)
- OS - CentOS 6.4
- Apache - 2.2.15
- PHP - 5.4.23
- MySQL - 5.5.35
- Mcrypt
- PHP CLI
- PDO
- GD
- mbstring
- XML
- PEAR