Skip to content
Quick WordPress Installation using Vagrant
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Quick WordPress

Quick WordPress Installation using Vagrant

The goal of this project is to create a quick virtual machine setup with a WordPress installation for testing purposes. The following technologies are automatically installed for you:

  • Ubuntu Bionic (18.04)
  • Apache
  • MariaDB
  • PHP
  • phpMyAdmin
  • WPCli
  • WordPress


  1. Install Vagrant
  2. Install Virtual Box

Installation Instructions

  1. Find a directory on your computer that you'd like to install this repo
  2. $ git clone or git clone if you don't have your ssh keys setup
  3. $ cd quick-wordpress
  4. Your are strongly encouraged to modify the default passwords and WordPress setup information in the config file
  5. $ vagrant up
  6. Grab some ☕️ coffee, it'll take a bit to install all the necessary dependencies


  1. Make sure the vagrant process is completed and your virtual machine is ready
  2. Point your web browser over to to view your WordPress site
  3. You can also get to phpMyAdmin by going to
  4. If you'd like to login into your virtual machine - $ vagrant ssh
  5. WordPress files are located in /var/www/html and you can run WPCli commands from there
  6. This repo is mirrored from your local machine over to /quick-wordpress on your vm

Backup and Restores

  1. In order to do backup and restores login to your virtual machine - $ vagrant ssh
  2. $ cd /quick-wordpress
  3. $ ./ and follow the on screen instructions
  4. Backups are saved in the /quick-wordpress/backups directory
  5. If you'd like to restore from a previous backup - $ ./ and follow the on screen instructions


  1. If you are ready to delete your WordPress VM from you local machine - $ vagrant destroy -f

Project Roadmap

  • LAMP Stack installed on Virtual Machine with WordPress using Vagrant
  • Plugin installations on initial WordPress install
  • Site Backups
  • Site Restores
  • Web Application instead of bash scripts for WordPress install, backup, and restore
  • Modifications to WP details in order to give a working WordPress backup to a host
You can’t perform that action at this time.