Use VCCW For Deploying WP

TurnToJPG -->

For deploying differenet versions of Wordpress, I searched various kinds of solutions, includeing docker and vagrant, finally I found VCCW(A Wordpress development environment) is what I want, because I could freely changes the WP versions, so following is the guideline for installing and configurating the whole virtualmachine.


The installation steps are listed as:

$ vagrant plugin install vagrant-hostsupdater
$ wget
$ tar xzvf 1.9.1.tar.gz
$ cd vccw-1.9.1
$ vagrant up

This will start downloading and configrating the VM, it will cost sometimes. So just drink a coffee and get back.

$ vagrant plugin install vagrant-omnibus && vagrant plugin install vagrant-hostsupdater &&  vagrant plugin install vagrant-proxyconf

Configure proxy and chef?

$ vim Vagrantfile
Vagrant.configure(2) do |config|
  config.proxy.http     = "http://1xx.xx.xx:xxx:2xxx"
  config.proxy.https    = "http://1xx.xx.xx:xxx:2xxx"
  config.proxy.no_proxy = "localhost,,"

config.omnibus.chef_version = :latest
$ VAGRANT_APT_HTTP_PROXY=" vagrant provision

vagrant halt