Follow the steps in this link: http://devstack.org/guides/single-machine.html
It is really important to install it in a clean environment. It is a bloody lesson.
1 create stack user before installing.
2 mysql cannot connect to 127.0.0.1
Should comment bind-address and skip-external-network, in /etc/mysql/my.conf , then reboot
If there is mysql installed before, there might be some weird problems, so it is better to use the following commands to uninstall it first.
sudo apt-get autoremove –purge mysql-server mysql-server-5.0 mysql-common
sudo rm /var/lib/mysql -rf
sudo rm /etc/mysql -rf
3 rabbimq cannot connect to the host
The right thing is that you need to input four passwords in the beginning. If not, probably there is a problem.
The right thing is that it will take 5 mins to finish. If not, probably there is a problem.
When you see the message in the console as followed. Congratulations to you! Cheers!
Horizon is now available at http://22.214.171.124/
Keystone is serving at http://126.96.36.199:5000/v2.0/
Examples on using novaclient command line is in exercise.sh
The default users are: admin and demo
The password: xxxx
This is your host ip: 188.8.131.52
stack.sh completed in 342 seconds.
The above is to describe how to install Openstack with devstack. Check out the following link which includes a detailed procedure for how to install Openstack from the source code. http://dodeeric.wordpress.com/2012/01/24/install-your-own-openstack-cloud-diablo-edition-2011-3-1-with-keystone-and-horizon/