root@nova:~# cat /etc/*release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=12.04 DISTRIB_CODENAME=precise DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"2) Install some libs which is required by openstack
apt-get install libxml2-dev libxslt-dev apt-get install libmysqlclient-dev3) Install devstack following: http://devstack.org/
3.1) We can use essex version, this is more stable. Check it out using:
git clone -b "stable/essex" git://github.com/openstack-dev/devstack.git3.2) Create a localrc file which can help facilitate your installation, the content would be as following, put this file to the first level directory for devstack.
root@nova:~/devstack# cat localrc ADMIN_PASSWORD=nova MYSQL_PASSWORD=nova RABBIT_PASSWORD=nova SERVICE_PASSWORD=nova SERVICE_TOKEN=tokentoken FLAT_INTERFACE=br1003.3) run ./stack.sh, wait some time, openstack will be ready.
root@nova:/opt/stack# pwd /opt/stack root@nova:/opt/stack# pwd /opt/stack root@nova:/opt/stack# cd devstack/ root@nova:/opt/stack/devstack# ls AUTHORS eucarc exerciserc exercises exercise.sh files functions HACKING.rst LICENSE localrc nova_help openrc README.md rejoin-stack.sh samples stackrc stack-screenrc stack.sh tests tools unstack.sh root@nova:/opt/stack/devstack# source openrc admin admin root@nova:/opt/stack/devstack# source eucarc admin admin root@nova:/opt/stack/devstack# euca-describe-images IMAGE aki-00000001 None (cirros-0.3.0-x86_64-uec-kernel) available public kernel instance-store IMAGE ami-00000002 None (cirros-0.3.0-x86_64-uec) available public machine aki-00000001 ari-00000003 instance-store IMAGE ari-00000003 None (cirros-0.3.0-x86_64-uec-ramdisk) available public ramdisk instance-store root@nova:/opt/stack/devstack# nova flavor-list +----+-----------+-----------+------+-----------+------+-------+-------------+ | ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | +----+-----------+-----------+------+-----------+------+-------+-------------+ | 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 | | 2 | m1.small | 2048 | 10 | 20 | | 1 | 1.0 | | 3 | m1.medium | 4096 | 10 | 40 | | 2 | 1.0 | | 4 | m1.large | 8192 | 10 | 80 | | 4 | 1.0 | | 5 | m1.xlarge | 16384 | 10 | 160 | | 8 | 1.0 | +----+-----------+-----------+------+-----------+------+-------+-------------+