Sophie

Sophie

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

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.6. Fedora &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.7. Oracle Solaris" href="solaris.html" />
    <link rel="prev" title="2.5. CentOS" href="centos.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/fedora.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="solaris.html" title="2.7. Oracle Solaris"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="centos.html" title="2.5. CentOS"
             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="fedora">
<h1>2.6. Fedora<a class="headerlink" href="#fedora" title="Permalink to this headline">¶</a></h1>
<p>This section describes how to install groonga related RPM packages on
Fedora. You can install them by <tt class="docutils literal"><span class="pre">yum</span></tt>.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Since groonga 3.0.2 release, Groonga related RPM pakcages are in the official
Fedora yum repository (Fedora 18). So you can use them instead of the groonga yum
repository now. There is some exceptions to use the groonga yum
repository because <tt class="docutils literal"><span class="pre">groonga-normalizer-mysql</span></tt> and mecab dictionaries
(mecab-ipadic or mecab-jumandic) are provided by
the groonga yum repository. But we will also plan to release
<tt class="docutils literal"><span class="pre">groonga-normalizer-mysql</span></tt> in the official Fedora yum repository in the future.</p>
</div>
<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="fedora-18">
<h2>2.6.1. Fedora 18<a class="headerlink" href="#fedora-18" title="Permalink to this headline">¶</a></h2>
<p>Install:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo yum install -y groonga
</pre></div>
</div>
<p>Note that additional packages such as <tt class="docutils literal"><span class="pre">groonga-normalizer-mysql</span></tt>,
<tt class="docutils literal"><span class="pre">mecab-dic</span></tt> and <tt class="docutils literal"><span class="pre">mecab-jumandic</span></tt> packages require to install
<tt class="docutils literal"><span class="pre">groonga-release</span></tt> package which provides the groonga yum repository beforehand:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo rpm -ivh http://packages.groonga.org/fedora/groonga-release-1.1.0-1.noarch.rpm
% sudo yum update
</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 yum install -y groonga-tokenizer-mecab
</pre></div>
</div>
<p>Then install MeCab dictionary. (mecab-ipadic or mecab-jumandic)</p>
<p>Install IPA dictionary:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo yum install -y mecab-ipadic
</pre></div>
</div>
<p>Or install Juman dictionary:</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo yum install -y mecab-jumandic
</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 yum install -y 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 yum install -y install groonga-normalizer-mysql
</pre></div>
</div>
</div>
<div class="section" id="build-from-source">
<h2>2.6.2. 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 yum install -y wget tar gcc-c++ make mecab-devel libedit-devel
</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.6. Fedora</a><ul>
<li><a class="reference internal" href="#fedora-18">2.6.1. Fedora 18</a></li>
<li><a class="reference internal" href="#build-from-source">2.6.2. Build from source</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="centos.html"
                        title="previous chapter">2.5. CentOS</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="solaris.html"
                        title="next chapter">2.7. Oracle Solaris</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/install/fedora.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="solaris.html" title="2.7. Oracle Solaris"
             >next</a> |</li>
        <li class="right" >
          <a href="centos.html" title="2.5. CentOS"
             >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>