I'm too cheap to pay for EC2, and I don't have enough servers to set up my own openstack, how do I configure juju to use Linux Containers (LXC) on something like my laptop?
For 12.04 LTS users:
You need a newer backported kernel for LXC support:
For everyone else (13.xx):
Your kernels are new enough, you just need to install the local provider:
After that you might get error for SSH authorized/public key not found. Generate an SSH key if you haven't already.
First configure your environment local environment, if you've not set up Juju before do a:
This will write out an example config file that will work. Then you need to tell Juju to use the local provider and then bootstrap:
The first time this runs it might take a bit, as it's doing a netinstall for the container, it's around a 300 megabyte download. Subsequent bootstraps should be much quicker.
You deploy charms from the charm store using the following commands:
When it's deployed juju should return something like this in
In this example, navigating the browser to 10.0.3.134 should take you to the wordpress configuration page.
protected by Community♦ Jun 16 '13 at 14:40
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?