Jump to: navigation, search

Difference between revisions of "Obsolete:NovaInstall/Bexar"

(Documenting how to install Nova from the tarball for Bexar)
 
Line 38: Line 38:
  
 
<pre><nowiki>
 
<pre><nowiki>
sudo apt-get install rabbitmq-server
+
sudo apt-get install -y rabbitmq-server
 +
sudo apt-get install -y python2.6-dev python-software-properties python-setuptools
 +
sudo apt-get install -y swig m2crypto
 +
sudo apt-get install -y python-twisted python-sqlalchemy python-mox python-greenlet python-carrot
 +
sudo apt-get install -y python-migrate python-eventlet python-gflags python-ipy python-tempita
 +
sudo apt-get install -y python-libvirt python-libxml2 python-routes python-cheetah
 +
sudo apt-get install -y python-netaddr python-paste python-pastedeploy python-glance
 +
sudo apt-get install -y python-boto  python-lockfile python-daemon python-redis  python-webob python-zope.interface
 +
sudo easy_install pip
 
</nowiki></pre>
 
</nowiki></pre>
  
 
You'll see messages starting with "Reading package lists... Done" and you must confirm by typing Y that you want to continue.
 
  
 
''' Step 3: Build and install Nova services '''
 
''' Step 3: Build and install Nova services '''
Line 58: Line 64:
  
 
<pre><nowiki>
 
<pre><nowiki>
 +
sudo pip install -r tools/pip-requires
 
sudo python setup.py build
 
sudo python setup.py build
 
sudo python setup.py install
 
sudo python setup.py install

Revision as of 00:28, 5 February 2011

Installing an OpenStack Compute (Nova) Snapshot (Bexar release)

These instructions are for the Bexar release of Nova, 2011.1. If you prefer to run the more recent code rather than the packaged release, refer to NovaInstall.

Please ask for assistance in the #openstack IRC channel if you want more information or run into problems.

Single Machine Installation

The instructions are based on Ubuntu commands. For Fedora, RHEL, or CentOS, refer to Nova installation on CentOS.

Step 1: Downloading the Nova packaged software

Download the released package at http://launchpad.net/nova/bexar/2011.1/+download/nova-2011.1.tar.gz.



wget http://launchpad.net/nova/bexar/2011.1/+download/nova-2011.1.tar.gz


Extract the file to the server where you want to install and run Nova.


tar xvzf nova-2011.1.tar.gz


Step 2: Install dependencies

Nova requires rabbitmq for messaging, so install it first.

Note: You must have sudo installed to run these commands as shown here.


sudo apt-get install -y rabbitmq-server
sudo apt-get install -y python2.6-dev python-software-properties python-setuptools
sudo apt-get install -y swig m2crypto
sudo apt-get install -y python-twisted python-sqlalchemy python-mox python-greenlet python-carrot
sudo apt-get install -y python-migrate python-eventlet python-gflags python-ipy python-tempita
sudo apt-get install -y python-libvirt python-libxml2 python-routes python-cheetah
sudo apt-get install -y python-netaddr python-paste python-pastedeploy python-glance
sudo apt-get install -y python-boto  python-lockfile python-daemon python-redis  python-webob python-zope.interface
sudo easy_install pip


Step 3: Build and install Nova services

Switch to the directory where the Python files for Nova are extracted.


cd nova-2011.1


Type or copy/paste in the following line to compile the Python code for OpenStack Compute.


sudo pip install -r tools/pip-requires
sudo python setup.py build
sudo python setup.py install


When the installation is complete, you'll see the following lines:


Installing nova-network script to /usr/local/bin
Installing nova-volume script to /usr/local/bin
Installing nova-objectstore script to /usr/local/bin
Installing nova-manage script to /usr/local/bin
Installing nova-scheduler script to /usr/local/bin
Installing nova-dhcpbridge script to /usr/local/bin
Installing nova-compute script to /usr/local/bin
Installing nova-instancemonitor script to /usr/local/bin
Installing nova-api script to /usr/local/bin
Installing nova-import-canonical-imagestore script to /usr/local/bin

Installed /usr/local/lib/python2.6/dist-packages/nova-2011.1-py2.6.egg
Processing dependencies for nova==2011.1
Finished processing dependencies for nova==2011.1


Next, refer to RunningNova for more information about getting images and starting instances.