2011-02-04 18:59:52 -05:00
|
|
|
..
|
|
|
|
Copyright 2011 OpenStack, LLC
|
|
|
|
All Rights Reserved.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
|
|
not use this file except in compliance with the License. You may obtain
|
|
|
|
a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
License for the specific language governing permissions and limitations
|
|
|
|
under the License.
|
|
|
|
|
|
|
|
Installing Glance
|
|
|
|
=================
|
|
|
|
|
|
|
|
Installing from packages
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2011-11-01 12:28:12 -04:00
|
|
|
To install the latest released version of Glance,
|
2011-02-04 18:59:52 -05:00
|
|
|
following the following instructions.
|
|
|
|
|
|
|
|
Debian/Ubuntu
|
|
|
|
#############
|
|
|
|
|
|
|
|
1. Add the Glance PPA to your sources.lst::
|
|
|
|
|
|
|
|
$> sudo add-apt-repository ppa:glance-core/trunk
|
|
|
|
$> sudo apt-get update
|
|
|
|
|
|
|
|
2. Install Glance::
|
|
|
|
|
|
|
|
$> sudo apt-get install glance
|
|
|
|
|
|
|
|
RedHat/Fedora
|
|
|
|
#############
|
|
|
|
|
|
|
|
.. todo:: Need some help on this one...
|
|
|
|
|
|
|
|
Mac OSX
|
|
|
|
#######
|
|
|
|
|
|
|
|
.. todo:: No idea how to do install on Mac OSX. Somebody with a Mac should complete this section
|
|
|
|
|
|
|
|
Installing from source tarballs
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
To install the latest version of Glance from the Launchpad Bazaar repositories,
|
|
|
|
following the following instructions.
|
|
|
|
|
|
|
|
1. Grab the source tarball from `Launchpad <http://launchpad.net/glance/+download>`_
|
|
|
|
|
|
|
|
2. Untar the source tarball::
|
|
|
|
|
|
|
|
$> tar -xzf <FILE>
|
|
|
|
|
|
|
|
3. Change into the package directory and build/install::
|
|
|
|
|
|
|
|
$> cd glance-<RELEASE>
|
|
|
|
$> sudo python setup.py install
|
|
|
|
|
2011-11-01 12:28:12 -04:00
|
|
|
Installing from Git
|
|
|
|
~~~~~~~~~~~~~~~~~~~
|
2011-02-04 18:59:52 -05:00
|
|
|
|
2011-11-01 12:28:12 -04:00
|
|
|
To install the latest version of Glance from the GitHub Git repositories,
|
2011-02-04 18:59:52 -05:00
|
|
|
following the following instructions.
|
|
|
|
|
|
|
|
Debian/Ubuntu
|
|
|
|
#############
|
|
|
|
|
2011-11-01 12:28:12 -04:00
|
|
|
1. Install Git and build dependencies::
|
2011-02-04 18:59:52 -05:00
|
|
|
|
2011-11-01 12:28:12 -04:00
|
|
|
$> sudo apt-get install git
|
|
|
|
$> sudo apt-get build-dep glance
|
2011-02-04 18:59:52 -05:00
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
If you want to build the Glance documentation locally, you will also want
|
|
|
|
to install the python-sphinx package
|
|
|
|
|
2011-11-01 12:28:12 -04:00
|
|
|
1. Clone Glance's trunk branch from GitHub::
|
2011-02-04 18:59:52 -05:00
|
|
|
|
2011-11-01 12:28:12 -04:00
|
|
|
$> git clone git://github.com/openstack/glance
|
|
|
|
$> cd glance
|
2011-02-04 18:59:52 -05:00
|
|
|
|
|
|
|
1. Install Glance::
|
|
|
|
|
|
|
|
$> sudo python setup.py install
|
|
|
|
|
|
|
|
RedHat/Fedora
|
|
|
|
#############
|
|
|
|
|
|
|
|
.. todo:: Need some help on this one...
|
|
|
|
|
|
|
|
Mac OSX
|
|
|
|
#######
|
|
|
|
|
|
|
|
.. todo:: No idea how to do install on Mac OSX. Somebody with a Mac should complete this section
|