Jump to: navigation, search

Difference between revisions of "Obsolete:InstallationNova20100729"

(talk)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
== Installation notes ==
 
== Installation notes ==
 +
 +
PYTHON 2.6 REQUIRED!!!
  
 
=== For developers ===
 
=== For developers ===
Line 43: Line 45:
  
  
* UbBUNTU ONLY!!!
+
* UBUNTU ONLY!!!
  
 
<pre><nowiki>
 
<pre><nowiki>
Line 60: Line 62:
 
</nowiki></pre>
 
</nowiki></pre>
  
 +
 +
* Set up python path for using nova
 +
 +
<pre><nowiki>
 +
# example python path dir OSX: /Library/Python/2.6/site-packages/
 +
# example python path dir Ubuntu: /usr/lib/pymodulues/python2.6/dist-packages
 +
echo "/path/to/bzr/branch" > cat /path/to/dir/in/python/path/nova.pth
 +
</nowiki></pre>
 +
  
 
=== Just to run on Debian or Ubuntu ===
 
=== Just to run on Debian or Ubuntu ===
  
 
Get packages from http://nova.openstack.org/pkgs
 
Get packages from http://nova.openstack.org/pkgs

Revision as of 22:26, 29 July 2010

Installation notes

PYTHON 2.6 REQUIRED!!!

For developers

  • Get Redis
curl http://redis.googlecode.com/files/redis-2.0.0-rc4.tar.gz -o redis-2.0.0-rc4.tar.gz
tar xvfz redis-2.0.0-rc4.tar.gz
cd redis...


  • Start Redis server
./redis-server


  • Get BZR
http://wiki.bazaar.canonical.com/Download


SUDO MAY NOT BE NECESSARY

  • Get virtualenv
sudo easy_install virtualenv


  • Get PIP
sudo easy_install pip


  • UBUNTU ONLY!!!
sudo apt-get build-dep python-m2crypto


  • Get Nova and run tests
bzr init
bzr branch lp:nova
cd nova
python tools/install_venv.py
./run_tests.sh


  • Set up python path for using nova
# example python path dir OSX: /Library/Python/2.6/site-packages/
# example python path dir Ubuntu: /usr/lib/pymodulues/python2.6/dist-packages
echo "/path/to/bzr/branch" > cat /path/to/dir/in/python/path/nova.pth


Just to run on Debian or Ubuntu

Get packages from http://nova.openstack.org/pkgs