22 August 2014

Install juju in local lxc contanier

Install JUJU in ubuntu

In this thread i have described how to install juju in ubuntu 14.04.First You have to install juju in to your machine.
   
   sudo apt-add-repository ppa:juju/stable
   sudo apt-get update
And then install juju-core in to your machine.It might takes more times based on your internet connection.
sudo apt-get install juju-local
Then for the configuration 
juju generate-config
juju switch local
Then You need to bootstrap the local environment.So Then enter this command
juju bootstrap --show-log
This might be take more than 20 minutes it is based on your internet connection.After installing juju you can check the status of the juju environment.
juju status
Then for the Testing you can install juju GUI.This will help you to understand what charm is running and what are the relationships using graphical view.
juju deploy juju-gui
juju expose juju-gui

How to create juju charm

First you have to install juju and then you have install charm tools for juju.
sudo add-apt-repository ppa:juju/stable
sudo apt-get update;
sudo apt-get install charm-tools;

No comments:

Post a Comment