Monday 30 March 2015

Openstack installation in few steps (Single Node Setup)





1. Download and Install Oracle Virtual Box


2. Download Ubuntu Operating System Image file, and create a virtual machine.

    If you face any issues then check and enable the virtualization options in your BIOS settings.


3.  While creating vm, you may end up with 2 options try Ubuntu / Install Ubuntu, click on Install Ubuntu.

4. Once the installation is over then follow the below steps to setup openstack in your vm.


                     a. sudo apt-get update
                     b. sudo apt-get upgrade
                     c. sudo apt-get install git
                     d. sudo git clone –b stable/icehouse https://github.com/openstack-dev/devstack.git
                     e. cd devstack
                     f. sudo wget –O localrc http://goo.gl/OeOGqL
                     g. ./stack.sh

now you can access openstack url http://localhost


the default credentials are:

Username  : admin / demo

password  :  openstack

NOTE : you may face some permission issues, please modify the permissions accordingly.




Sunday 22 March 2015

Setting Environment Variables with Spaces in the Path



1. We can use one temp variable to store the path with  spaces, after we can use this variable for setting the environment variables.

For ex:

to set JAVA_HOME, I can use below commands:

set temp=c:\program files\java\jre7

set JAVA_HOME="%temp%"

2. we can simply go with the below approach:


  set "JAVA_HOME=c:\program files\java\jre7"