This file is indexed.

/usr/share/doc/python-glance-doc/html/installing.html is in python-glance-doc 1:2014.1-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Installation &mdash; Glance 2014.1 documentation</title>
    
    <link rel="stylesheet" href="_static/nature.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <link rel="stylesheet" href="_static/tweaks.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '2014.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="Glance 2014.1 documentation" href="index.html" />
    <link rel="next" title="Basic Configuration" href="configuring.html" />
    <link rel="prev" title="Common Image Properties" href="common-image-properties.html" /> 
  </head>
  <body>
  <div id="header">
    <h1 id="logo"><a href="http://www.openstack.org/">OpenStack</a></h1>
    <ul id="navigation">
      
      <li><a href="http://www.openstack.org/" title="Go to the Home page" class="link">Home</a></li>
      <li><a href="http://www.openstack.org/projects/" title="Go to the OpenStack Projects page">Projects</a></li>
      <li><a href="http://www.openstack.org/user-stories/" title="Go to the User Stories page" class="link">User Stories</a></li>
      <li><a href="http://www.openstack.org/community/" title="Go to the Community page" class="link">Community</a></li>
      <li><a href="http://www.openstack.org/blog/" title="Go to the OpenStack Blog">Blog</a></li>
      <li><a href="http://wiki.openstack.org/" title="Go to the OpenStack Wiki">Wiki</a></li>
      <li><a href="http://docs.openstack.org/" title="Go to OpenStack Documentation" class="current">Documentation</a></li>
      
    </ul>
  </div>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="installation">
<h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline"></a></h1>
<div class="section" id="installing-from-packages">
<h2>Installing from packages<a class="headerlink" href="#installing-from-packages" title="Permalink to this headline"></a></h2>
<p>To install the latest released version of Glance,
follow the following instructions.</p>
<div class="section" id="debian-ubuntu">
<h3>Debian, Ubuntu<a class="headerlink" href="#debian-ubuntu" title="Permalink to this headline"></a></h3>
<ol class="arabic">
<li><p class="first">Add the Glance PPA to your sources.lst:</p>
<div class="highlight-python"><div class="highlight"><pre>$&gt; sudo add-apt-repository ppa:glance-core/trunk
$&gt; sudo apt-get update
</pre></div>
</div>
</li>
<li><p class="first">Install Glance:</p>
<div class="highlight-python"><div class="highlight"><pre>$&gt; sudo apt-get install glance
</pre></div>
</div>
</li>
</ol>
</div>
<div class="section" id="red-hat-fedora">
<h3>Red Hat, Fedora<a class="headerlink" href="#red-hat-fedora" title="Permalink to this headline"></a></h3>
<p>Only RHEL 6, Fedora 18, and newer releases have the necessary
components packaged.
On RHEL 6, enable the EPEL repository.</p>
<p>Install Glance:</p>
<div class="highlight-python"><div class="highlight"><pre>$ su -
# yum install openstack-glance
</pre></div>
</div>
</div>
</div>
<div class="section" id="installing-from-source-tarballs">
<h2>Installing from source tarballs<a class="headerlink" href="#installing-from-source-tarballs" title="Permalink to this headline"></a></h2>
<p>To install the latest version of Glance from the Launchpad Bazaar repositories,
following the following instructions.</p>
<ol class="arabic">
<li><p class="first">Grab the source tarball from <a class="reference external" href="http://launchpad.net/glance/+download">Launchpad</a></p>
</li>
<li><p class="first">Untar the source tarball:</p>
<div class="highlight-python"><div class="highlight"><pre>$&gt; tar -xzf &lt;FILE&gt;
</pre></div>
</div>
</li>
<li><p class="first">Change into the package directory and build/install:</p>
<div class="highlight-python"><div class="highlight"><pre>$&gt; cd glance-&lt;RELEASE&gt;
$&gt; sudo python setup.py install
</pre></div>
</div>
</li>
</ol>
</div>
<div class="section" id="installing-from-git">
<h2>Installing from Git<a class="headerlink" href="#installing-from-git" title="Permalink to this headline"></a></h2>
<p>To install the latest version of Glance from the GitHub Git repositories,
following the following instructions.</p>
<div class="section" id="id1">
<h3>Debian, Ubuntu<a class="headerlink" href="#id1" title="Permalink to this headline"></a></h3>
<ol class="arabic">
<li><p class="first">Install Git and build dependencies:</p>
<div class="highlight-python"><div class="highlight"><pre>$&gt; sudo apt-get install git
$&gt; sudo apt-get build-dep glance
</pre></div>
</div>
</li>
</ol>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">If you want to build the Glance documentation locally, you will also want
to install the python-sphinx package</p>
</div>
<ol class="arabic" start="2">
<li><p class="first">Clone Glance&#8217;s trunk branch from GitHub:</p>
<div class="highlight-python"><div class="highlight"><pre>$&gt; git clone git://github.com/openstack/glance
$&gt; cd glance
</pre></div>
</div>
</li>
<li><p class="first">Install Glance:</p>
<div class="highlight-python"><div class="highlight"><pre>$&gt; sudo python setup.py install
</pre></div>
</div>
</li>
</ol>
</div>
<div class="section" id="id2">
<h3>Red Hat, Fedora<a class="headerlink" href="#id2" title="Permalink to this headline"></a></h3>
<p>On Fedora, most developers and essentially all users install packages.
Instructions below are not commonly used, and even then typically in a
throw-away VM.</p>
<p>Since normal build dependencies are resolved by mechanisms of RPM,
there is no one-line command to install everything needed by
the source repository in git. One common way to discover the dependencies
is to search for <em>BuildRequires:</em> in the specfile of openstack-glance
for the appropriate distro.</p>
<p>In case of Fedora 16, for example, do this:</p>
<div class="highlight-python"><div class="highlight"><pre>$ su -
# yum install git
# yum install python2-devel python-setuptools python-distutils-extra
# yum install python-webob python-eventlet python-boto
# yum install python-virtualenv
</pre></div>
</div>
<p>Build Glance:</p>
<div class="highlight-python"><div class="highlight"><pre>$ python setup.py build
</pre></div>
</div>
<p>If any missing modules crop up, install them with yum, then retry the build.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">If you want to build the Glance documentation, you will also want
to install the packages python-sphinx and graphviz, then run
&#8220;python setup.py build_sphinx&#8221;. Due to required features of
python-sphinx 1.0 or better, documentation can only be built
on Fedora 15 or later.</p>
</div>
<p>Test the build:</p>
<div class="highlight-python"><div class="highlight"><pre>$ ./run_tests.sh -s
</pre></div>
</div>
<p>Once Glance is built and tested, install it:</p>
<div class="highlight-python"><div class="highlight"><pre>$ su -
# python setup.py install
</pre></div>
</div>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <h3><a href="index.html">Table Of Contents</a></h3>
            <ul>
<li><a class="reference internal" href="#">Installation</a><ul>
<li><a class="reference internal" href="#installing-from-packages">Installing from packages</a><ul>
<li><a class="reference internal" href="#debian-ubuntu">Debian, Ubuntu</a></li>
<li><a class="reference internal" href="#red-hat-fedora">Red Hat, Fedora</a></li>
</ul>
</li>
<li><a class="reference internal" href="#installing-from-source-tarballs">Installing from source tarballs</a></li>
<li><a class="reference internal" href="#installing-from-git">Installing from Git</a><ul>
<li><a class="reference internal" href="#id1">Debian, Ubuntu</a></li>
<li><a class="reference internal" href="#id2">Red Hat, Fedora</a></li>
</ul>
</li>
</ul>
</li>
</ul>

            <h4>Previous topic</h4>
            <p class="topless"><a href="common-image-properties.html"
                                  title="previous chapter">Common Image Properties</a></p>
            <h4>Next topic</h4>
            <p class="topless"><a href="configuring.html"
                                  title="next chapter">Basic Configuration</a></p>
            <h3>This Page</h3>
            <ul class="this-page-menu">
              <li><a href="_sources/installing.txt"
                     rel="nofollow">Show Source</a></li>
            </ul>
          <div id="searchbox" style="display: none">
            <h3>Quick search</h3>
              <form class="search" action="search.html" method="get">
                <input type="text" name="q" size="18" />
                <input type="submit" value="Go" />
                <input type="hidden" name="check_keywords" value="yes" />
                <input type="hidden" name="area" value="default" />
              </form>
              <p class="searchtip" style="font-size: 90%">
              Enter search terms or a module, class or function name.
              </p>
          </div>
          <script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="configuring.html" title="Basic Configuration"
             accesskey="N">next</a></li>
        <li class="right" >
          <a href="common-image-properties.html" title="Common Image Properties"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">Glance 2014.1 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2010-2014, OpenStack Foundation..
      Last updated on Apr 17, 2014.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2.
    </div>
  </body>
</html>