logo

logo

Tuesday 12 August 2014

Setup All-in-One OpenStack environment by using devstack

As OpenStack is a complicated software suit, it is not very easy to deploy OpenStack for beginners. Devstack is a very handy tool to deploy all-in-one openstack environment

1.       the box is installed with the ubuntu 14.4, the user is called stack

2.       update the system and packages
command: #sudo apt-get dist-upgrade
then reboot the machine

3.       make the /opt/stack world wide readable
commands:
#sudo chown -R stack:strack /opt/stack
#sudo chmod 777 /opt/stack

4.       install git
#sudo apt-getinstall git

5.       download openstack and checkout the Icehouse version
#sudo git checkout -b icehouseorigin/stable/icehouse

6.       upload the localrc configuration template
it should be in ~/devstack/


7.       deploy openstack
./stack.sh

After it is running for about 1 hour, you will have a full-in-one OpenStack environment

No comments:

Post a Comment