Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > e450e7f3d6075c4a54de19e68d38177f > files > 218

groonga-doc-3.0.5-1.fc18.x86_64.rpm


<!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>2.3. Debian GNU/Linux &mdash; groonga v3.0.5 documentation</title>
    
    <link rel="stylesheet" href="../_static/groonga.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '3.0.5',
        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="shortcut icon" href="../_static/favicon.ico"/>
    <link rel="top" title="groonga v3.0.5 documentation" href="../index.html" />
    <link rel="up" title="2. Install" href="../install.html" />
    <link rel="next" title="2.4. Ubuntu" href="ubuntu.html" />
    <link rel="prev" title="2.2. Mac OS X" href="mac_os_x.html" /> 
  </head>
  <body>
<div class="header">
  <h1 class="title">
    <a id="top-link" href="../index.html">
      <span class="project">groonga</span>
      <span class="separator">-</span>
      <span class="description">An open-source fulltext search engine and column store.</span>
    </a>
  </h1>

  <div class="other-language-links">
    <ul>
      <li><a href="../../../ja/html/install/debian.html"><img src="../_static/jp.png" alt="日本語">日本語版はこちら</a></li>
    </ul>
  </div>
</div>
  

    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="ubuntu.html" title="2.4. Ubuntu"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="mac_os_x.html" title="2.2. Mac OS X"
             accesskey="P">previous</a> |</li>
        <li><a href="../index.html">groonga v3.0.5 documentation</a> &raquo;</li>
          <li><a href="../install.html" accesskey="U">2. Install</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="debian-gnu-linux">
<h1>2.3. Debian GNU/Linux<a class="headerlink" href="#debian-gnu-linux" title="Permalink to this headline">¶</a></h1>
<p>This section describes how to install groonga related deb packages on
Debian GNU/Linux. You can install them by <tt class="docutils literal"><span class="pre">apt</span></tt>.</p>
<p>We distribute both 32-bit and 64-bit packages but we strongly
recommend a 64-bit package for server. You should use a 32-bit package
just only for tests or development. You will encounter an out of
memory error with a 32-bit package even if you just process medium
size data.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p>The package 'groonga' is the mininum set of fulltext search engine.
If you want to use groonga for server use, you can install
additional preconfigured packages.</p>
<p>There are three packages for server use.</p>
<ul class="simple">
<li>groonga-server-http (simple HTTP protocol based server package)</li>
<li>groonga-httpd (nginx and HTTP protocol based server package)</li>
<li>groonga-server-gqtp (GQTP protocol based server package)</li>
</ul>
<p class="last">See <a class="reference internal" href="../server.html"><em>Server</em></a> section about details.</p>
</div>
<div class="section" id="squeeze">
<h2>2.3.1. squeeze<a class="headerlink" href="#squeeze" title="Permalink to this headline">¶</a></h2>
<p>Add the groonga apt repository.</p>
<p>/etc/apt/sources.list.d/groonga.list:</p>
<div class="highlight-none"><div class="highlight"><pre>deb http://packages.groonga.org/debian/ squeeze main
deb-src http://packages.groonga.org/debian/ squeeze main
</pre></div>
</div>
<p>Install:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude update
% sudo aptitude -V -D -y --allow-untrusted install groonga-keyring
% sudo aptitude update
% sudo aptitude -V -D -y install groonga
</pre></div>
</div>
<p>If you want to use <a class="reference external" href="http://mecab.sourceforge.net/">MeCab</a> as a
tokenizer, install groonga-tokenizer-mecab package.</p>
<p>Install groonga-tokenizer-mecab package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-tokenizer-mecab
</pre></div>
</div>
<p>There is a package that provides <a class="reference external" href="http://munin-monitoring.org/">Munin</a> plugins. If you want to monitor
groonga status by Munin, install groonga-munin-plugins package.</p>
<p>Install groonga-munin-plugins package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-munin-plugins
</pre></div>
</div>
<p>There is a package that provides MySQL compatible normalizer as
groonga plugins.
If you want to use that one, install groonga-normalizer-mysql package.</p>
<p>Install groonga-normalizer-mysql package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-normalizer-mysql
</pre></div>
</div>
</div>
<div class="section" id="wheezy">
<h2>2.3.2. wheezy<a class="headerlink" href="#wheezy" title="Permalink to this headline">¶</a></h2>
<p>Add the groonga apt repository.</p>
<p>/etc/apt/sources.list.d/groonga.list:</p>
<div class="highlight-none"><div class="highlight"><pre>deb http://packages.groonga.org/debian/ wheezy main
deb-src http://packages.groonga.org/debian/ wheezy main
</pre></div>
</div>
<p>Install:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo apt-get update
% sudo apt-get -y --allow-unauthenticated install groonga-keyring
% sudo apt-get update
% sudo apt-get -y install groonga
</pre></div>
</div>
<p>If you want to use <a class="reference external" href="http://mecab.sourceforge.net/">MeCab</a> as a
tokenizer, install groonga-tokenizer-mecab package.</p>
<p>Install groonga-tokenizer-mecab package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-tokenizer-mecab
</pre></div>
</div>
<p>There is a package that provides <a class="reference external" href="http://munin-monitoring.org/">Munin</a> plugins. If you want to monitor
groonga status by Munin, install groonga-munin-plugins package.</p>
<p>Install groonga-munin-plugins package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-munin-plugins
</pre></div>
</div>
<p>There is a package that provides MySQL compatible normalizer as
groonga plugins.
If you want to use that one, install groonga-normalizer-mysql package.</p>
<p>Install groonga-normalizer-mysql package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-normalizer-mysql
</pre></div>
</div>
</div>
<div class="section" id="jessie">
<h2>2.3.3. jessie<a class="headerlink" href="#jessie" title="Permalink to this headline">¶</a></h2>
<p>Add the groonga apt repository.</p>
<p>/etc/apt/sources.list.d/groonga.list:</p>
<div class="highlight-none"><div class="highlight"><pre>deb http://packages.groonga.org/debian/ jessie main
deb-src http://packages.groonga.org/debian/ jessie main
</pre></div>
</div>
<p>Install:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo apt-get update
% sudo apt-get -y --allow-unauthenticated install groonga-keyring
% sudo apt-get update
% sudo apt-get -y install groonga
</pre></div>
</div>
<p>If you want to use <a class="reference external" href="http://mecab.sourceforge.net/">MeCab</a> as a
tokenizer, install groonga-tokenizer-mecab package.</p>
<p>Install groonga-tokenizer-mecab package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-tokenizer-mecab
</pre></div>
</div>
<p>There is a package that provides <a class="reference external" href="http://munin-monitoring.org/">Munin</a> plugins. If you want to monitor
groonga status by Munin, install groonga-munin-plugins package.</p>
<p>Install groonga-munin-plugins package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-munin-plugins
</pre></div>
</div>
<p>There is a package that provides MySQL compatible normalizer as
groonga plugins.
If you want to use that one, install groonga-normalizer-mysql package.</p>
<p>Install groonga-normalizer-mysql package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-normalizer-mysql
</pre></div>
</div>
</div>
<div class="section" id="sid">
<h2>2.3.4. sid<a class="headerlink" href="#sid" title="Permalink to this headline">¶</a></h2>
<p>Add the groonga apt repository.</p>
<p>/etc/apt/sources.list.d/groonga.list:</p>
<div class="highlight-none"><div class="highlight"><pre>deb http://packages.groonga.org/debian/ unstable main
deb-src http://packages.groonga.org/debian/ unstable main
</pre></div>
</div>
<p>Install:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude update
% sudo aptitude -V -D -y --allow-untrusted install groonga-keyring
% sudo aptitude update
% sudo aptitude -V -D -y install groonga
</pre></div>
</div>
<p>If you want to use <a class="reference external" href="http://mecab.sourceforge.net/">MeCab</a> as a
tokenizer, install groonga-tokenizer-mecab package.</p>
<p>Install groonga-tokenizer-mecab package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-tokenizer-mecab
</pre></div>
</div>
<p>There is a package that provides <a class="reference external" href="http://munin-monitoring.org/">Munin</a> plugins. If you want to monitor
groonga status by Munin, install groonga-munin-plugins package.</p>
<p>Install groonga-munin-plugins package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-munin-plugins
</pre></div>
</div>
<p>There is a package that provides MySQL compatible normalizer as
groonga plugins.
If you want to use that one, install groonga-normalizer-mysql package.</p>
<p>Install groonga-normalizer-mysql package:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install groonga-normalizer-mysql
</pre></div>
</div>
</div>
<div class="section" id="build-from-source">
<h2>2.3.5. Build from source<a class="headerlink" href="#build-from-source" title="Permalink to this headline">¶</a></h2>
<p>Install required packages to build groonga:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo aptitude -V -D -y install wget tar build-essential zlib1g-dev liblzo2-dev libmsgpack-dev libzmq-dev libevent-dev libmecab-dev
</pre></div>
</div>
<p>Download source:</p>
<div class="highlight-none"><div class="highlight"><pre>% wget http://packages.groonga.org/source/groonga/groonga-3.0.5.tar.gz
% tar xvzf groonga-3.0.5.tar.gz
% cd groonga-3.0.5
</pre></div>
</div>
<p>Configure (see <a class="reference internal" href="others.html#source-configure"><em>configure</em></a> about <tt class="docutils literal"><span class="pre">configure</span></tt> options):</p>
<div class="highlight-none"><div class="highlight"><pre>% ./configure
</pre></div>
</div>
<p>Build:</p>
<div class="highlight-none"><div class="highlight"><pre>% make -j$(grep &#39;^processor&#39; /proc/cpuinfo | wc -l)
</pre></div>
</div>
<p>Install:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo make install
</pre></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="#">2.3. Debian GNU/Linux</a><ul>
<li><a class="reference internal" href="#squeeze">2.3.1. squeeze</a></li>
<li><a class="reference internal" href="#wheezy">2.3.2. wheezy</a></li>
<li><a class="reference internal" href="#jessie">2.3.3. jessie</a></li>
<li><a class="reference internal" href="#sid">2.3.4. sid</a></li>
<li><a class="reference internal" href="#build-from-source">2.3.5. Build from source</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="mac_os_x.html"
                        title="previous chapter">2.2. Mac OS X</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="ubuntu.html"
                        title="next chapter">2.4. Ubuntu</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/install/debian.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" />
      <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="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="ubuntu.html" title="2.4. Ubuntu"
             >next</a> |</li>
        <li class="right" >
          <a href="mac_os_x.html" title="2.2. Mac OS X"
             >previous</a> |</li>
        <li><a href="../index.html">groonga v3.0.5 documentation</a> &raquo;</li>
          <li><a href="../install.html" >2. Install</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2009-2013, Brazil, Inc.
    </div>
  </body>
</html>