Sunday, 13 May 2012

Ubuntu: easy rapid deployment of wordpress in a local development environment

Here's a very quick guide to setting up wordpress using juju for local development. Install the prerequisite files and disable the firewall so your system can configure itself correctly: Then edit the environments configuration file: It should look something like this after you've set the type to local and added the data-dir for the instance data: The following will bootstrap, deploy mysql and wordpress, then make it available over http: You will need to give juju 5 - 10 minutes before everything is ready. You will probably hear a fair amount of disk I/O while this is happening. To get the status of your juju'd instance: Look at the wordpress configuration information, the public-address will be the address where the instance is made available over http. To teardown the environment: