XLD Provisioner /

Filename Size Date modified Message
29 B
4.0 KB
325 B

Exel Digital Debian & Ubuntu Environment Provisioner

This project is a collection of provisioning scripts for cloud servers and Vagrant boxes created and maintained by Exel Digital.

All pre-provisioned Vagrant boxes and servers are tuned for running Drupal, Magento, and Wordpress sites.

The following services and tools come pre-installed:

  • Apache2/Nginx
  • MySQL 14
  • Adminer
  • Drush 8 and Drush Registry Rebuild
  • Composer
  • SASS
  • Compass
  • Behat
  • n98-magerun
  • wp-cli
  • Platform CLI

Summary of Vagrant Box Projects

The following Vagrant boxes are available for download at https://atlas.hashicorp.com/exeldigital:

Initializing an Exel Digital Vagrant box

To create a basic Vagrantfile for the trusty64-nginx-php7 box:

vagrant init -m exeldigital/trusty64-nginx-php7

To add basic local network hosting to the box, edit /Vagrantfile and add the following:

  # Configure networking.
  config.vm.network :private_network, ip: ""
  config.vm.hostname = "vagrant.dev"

To mount and host a project site, place your docroot files in directory /web. Then, edit /Vagrantfile and add the following:

  # Synced folders.
  config.vm.synced_folder ".", "/var/www/example.dev", :nfs => true
  • Be sure to install NFS support on your host machine.

    • In Ubuntu:

      sudo apt-get install nfs-kernel-server
    • In Windows:

      vagrant plugin install vagrant-winnfsd

To add ssh agent forwarding to the box, edit /Vagrantfile and add the following:

  # SSH forward agent.
  config.ssh.forward_agent  = true
  • Be sure to allow SSH Agent Forwarding on your host machine. To do so, edit ~/.ssh/config and add the following:

    Host localhost
      ForwardAgent yes

To add more memory to the box, edit Vagrantfile and add the following:

  # Configure box memory.
  config.vm.provider :virtualbox do |vm|
    vm.customize ["modifyvm", :id, "--memory", 2048]

Vagrant box usage and notes

All Vagrant boxes are pre-configured with the following parameters.

  • Web server is configured for automatic virtual hosts.
    • Project site docroot(s) should be located in: /var/www/example.dev/web
  • Database root user / password:
    • root / root
  • Database is accessible from the host machine via port 3306.
  • PHPInfo page is available on port 8000:
  • Adminer is available on port 8181:
  • MailHog is available on port 8025:
  • Additional custom service settings as defined in this repository's build directory.


  • Increase the max upload size in php.ini from 2M to something bigger.
  • Routine updates

References & Thanks