Sophie

Sophie

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

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>7.1. サーバーパッケージ &mdash; groonga v3.0.5ドキュメント</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>
    <script type="text/javascript" src="../_static/translations.js"></script>
    <link rel="shortcut icon" href="../_static/favicon.ico"/>
    <link rel="top" title="groonga v3.0.5ドキュメント" href="../index.html" />
    <link rel="up" title="7. サーバー" href="../server.html" />
    <link rel="next" title="7.2. GQTP" href="gqtp.html" />
    <link rel="prev" title="7. サーバー" href="../server.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">オープンソースのカラムストア機能付き全文検索エンジン</span>
    </a>
  </h1>

  <div class="other-language-links">
    <ul>
      <li><a href="../../../en/html/server/package.html"><img src="../_static/us.png" alt="English">English page</a></li>
    </ul>
  </div>
</div>
  

    <div class="related">
      <h3>ナビゲーション</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="総合索引"
             accesskey="I">索引</a></li>
        <li class="right" >
          <a href="gqtp.html" title="7.2. GQTP"
             accesskey="N">次へ</a> |</li>
        <li class="right" >
          <a href="../server.html" title="7. サーバー"
             accesskey="P">前へ</a> |</li>
        <li><a href="../index.html">groonga v3.0.5ドキュメント</a> &raquo;</li>
          <li><a href="../server.html" accesskey="U">7. サーバー</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="server-packages">
<h1>7.1. サーバーパッケージ<a class="headerlink" href="#server-packages" title="このヘッドラインへのパーマリンク">¶</a></h1>
<p><tt class="docutils literal"><span class="pre">groonga</span></tt> パッケージは全文検索を行うための最小構成のパッケージです。サーバー用途で使うために、設定済みのパッケージを追加でインストールすることができます。</p>
<p>サーバー用途の3つのパッケージがあります。</p>
<ul class="simple">
<li><p class="first"><tt class="docutils literal"><span class="pre">groonga-httpd</span></tt> (nginxをベースにしたHTTPサーバー)</p>
</li>
<li><p class="first"><tt class="docutils literal"><span class="pre">groonga-server-http</span></tt> (簡易HTTPサーバー)</p>
</li>
<li><p class="first"><tt class="docutils literal"><span class="pre">groonga-server-gqtp</span></tt> (GQTPサーバー)</p>
</li>
</ul>
<p><tt class="docutils literal"><span class="pre">groonga-httpd</span></tt> と <tt class="docutils literal"><span class="pre">groonga-server-http</span></tt> パッケージは使用ポートが一緒なので衝突します。どちらのパッケージを使うのがいいのかは <a class="reference internal" href="http/comparison.html"><em>比較</em></a> を参照してください。</p>
<div class="section" id="groonga-httpd">
<h2>7.1.1. groonga-httpd<a class="headerlink" href="#groonga-httpd" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p><tt class="docutils literal"><span class="pre">groonga-httpd</span></tt> はnginxをベースにしたHTTPサーバーパッケージです。</p>
<p>設定済みの内容:</p>
<table border="1" class="docutils">
<colgroup>
<col width="34%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head"><p class="first last">項目</p>
</th>
<th class="head"><p class="first last">既定値</p>
</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><p class="first last">ポート番号</p>
</td>
<td>10041</td>
</tr>
<tr class="row-odd"><td><p class="first last">アクセスログ</p>
</td>
<td>/var/log/groonga/httpd/acccess.log</td>
</tr>
<tr class="row-even"><td><p class="first last">エラーログ</p>
</td>
<td>/var/log/groonga/http-query.log</td>
</tr>
<tr class="row-odd"><td><p class="first last">データベース</p>
</td>
<td>/var/lib/groonga/db/*</td>
</tr>
<tr class="row-even"><td><p class="first last">設定ファイル</p>
</td>
<td>/etc/groonga/httpd/groonga-httpd.conf</td>
</tr>
</tbody>
</table>
<div class="section" id="start-http-server">
<h3>7.1.1.1. HTTPサーバーを起動<a class="headerlink" href="#start-http-server" title="このヘッドラインへのパーマリンク">¶</a></h3>
<p>groonga HTTPサーバーを起動(Debian/Ubuntu/CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo service groonga-httpd start
</pre></div>
</div>
<p>groonga HTTPサーバーを起動(Fedora):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo systemctl start groonga-httpd
</pre></div>
</div>
</div>
<div class="section" id="stop-http-server">
<h3>7.1.1.2. HTTPサーバーを終了<a class="headerlink" href="#stop-http-server" title="このヘッドラインへのパーマリンク">¶</a></h3>
<p>groonga HTTPサーバーを終了(Debian/Ubuntu/CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo service groonga-httpd stop
</pre></div>
</div>
<p>groonga HTTPサーバーを起動(Fedora):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo systemctl stop groonga-httpd
</pre></div>
</div>
</div>
<div class="section" id="restart-http-server">
<h3>7.1.1.3. HTTPサーバーを再起動<a class="headerlink" href="#restart-http-server" title="このヘッドラインへのパーマリンク">¶</a></h3>
<p>groonga HTTPサーバーを再起動(Debian/Ubuntu/CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo service groonga-httpd restart
</pre></div>
</div>
<p>groonga HTTPサーバーを再起動(Fedora):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo systemctl restart groonga-httpd
</pre></div>
</div>
</div>
</div>
<div class="section" id="groonga-server-http">
<h2>7.1.2. groonga-server-http<a class="headerlink" href="#groonga-server-http" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p><tt class="docutils literal"><span class="pre">groonga-server-http</span></tt> は簡易HTTPサーバーパッケージです。</p>
<p>設定済みの内容:</p>
<table border="1" class="docutils">
<colgroup>
<col width="34%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head"><p class="first last">項目</p>
</th>
<th class="head"><p class="first last">既定値</p>
</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><p class="first last">ポート番号</p>
</td>
<td>10041</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="../reference/log.html#process-log"><em>Process log</em></a></td>
<td>/var/log/groonga/groonga-http.log</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="../reference/log.html#query-log"><em>Query log</em></a></td>
<td>/var/log/groonga/http-query.log</td>
</tr>
<tr class="row-odd"><td><p class="first last">データベース</p>
</td>
<td>/var/lib/groonga/db/*</td>
</tr>
</tbody>
</table>
<p>サーバー設定ファイル (Debian/Ubuntu):</p>
<div class="highlight-none"><div class="highlight"><pre>/etc/default/groonga/groonga-server-http
</pre></div>
</div>
<p>サーバー設定ファイル(CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>/etc/sysconfig/groonga-server-http
</pre></div>
</div>
<div class="section" id="id1">
<h3>7.1.2.1. HTTPサーバーを起動<a class="headerlink" href="#id1" title="このヘッドラインへのパーマリンク">¶</a></h3>
<p>groonga HTTPサーバーを起動(Debian/Ubuntu/CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo service groonga-server-http start
</pre></div>
</div>
<p>groonga HTTPサーバーを起動(Fedora):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo systemctl start groonga-server-http
</pre></div>
</div>
</div>
<div class="section" id="id2">
<h3>7.1.2.2. HTTPサーバーを終了<a class="headerlink" href="#id2" title="このヘッドラインへのパーマリンク">¶</a></h3>
<p>groonga HTTPサーバーを終了(Debian/Ubuntu/CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo service groonga-server-http stop
</pre></div>
</div>
<p>groonga GQTPサーバーを終了(Fedora):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo systemctl stop groonga-server-http
</pre></div>
</div>
</div>
<div class="section" id="id3">
<h3>7.1.2.3. HTTPサーバーを再起動<a class="headerlink" href="#id3" title="このヘッドラインへのパーマリンク">¶</a></h3>
<p>groonga HTTPサーバーを再起動(Debian/Ubuntu/CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo service groonga-server-http restart
</pre></div>
</div>
<p>groonga HTTPサーバーを再起動(Fedora):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo systemctl restart groonga-server-http
</pre></div>
</div>
</div>
</div>
<div class="section" id="groonga-server-gqtp">
<h2>7.1.3. groonga-server-gqtp<a class="headerlink" href="#groonga-server-gqtp" title="このヘッドラインへのパーマリンク">¶</a></h2>
<p><tt class="docutils literal"><span class="pre">groonga-server-gqtp</span></tt> はGQTPサーバーパッケージです。</p>
<table border="1" class="docutils">
<colgroup>
<col width="34%" />
<col width="66%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head"><p class="first last">項目</p>
</th>
<th class="head"><p class="first last">既定値</p>
</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td><p class="first last">ポート番号</p>
</td>
<td>10043</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="../reference/log.html#process-log"><em>Process log</em></a></td>
<td>/var/log/groonga/groonga-gqtp.log</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="../reference/log.html#query-log"><em>Query log</em></a></td>
<td>/var/log/groonga/gqtp-query.log</td>
</tr>
<tr class="row-odd"><td><p class="first last">データベース</p>
</td>
<td>/var/lib/groonga/db/*</td>
</tr>
</tbody>
</table>
<p>サーバー設定ファイル (Debian/Ubuntu):</p>
<div class="highlight-none"><div class="highlight"><pre>/etc/default/groonga/groonga-server-gqtp
</pre></div>
</div>
<p>サーバー設定ファイル(CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>/etc/sysconfig/groonga-server-gqtp
</pre></div>
</div>
<div class="section" id="start-gqtp-server">
<h3>7.1.3.1. GQTPサーバーを起動<a class="headerlink" href="#start-gqtp-server" title="このヘッドラインへのパーマリンク">¶</a></h3>
<p>groonga GQTPサーバーを起動(Debian/Ubuntu/CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo service groonga-server-gqtp start
</pre></div>
</div>
<p>groonga GQTPサーバーを起動(Fedora):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo systemctl start groonga-server-gqtp
</pre></div>
</div>
</div>
<div class="section" id="stop-gqtp-server">
<h3>7.1.3.2. GQTPサーバーを終了<a class="headerlink" href="#stop-gqtp-server" title="このヘッドラインへのパーマリンク">¶</a></h3>
<p>groonga GQTPサーバーを終了(Debian/Ubuntu/CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo service groonga-server-http stop
</pre></div>
</div>
<p>groonga GQTPサーバーを終了(Fedora):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo systemctl stop groonga-server-gqtp
</pre></div>
</div>
</div>
<div class="section" id="restart-gqtp-server">
<h3>7.1.3.3. GQTPサーバーを再起動<a class="headerlink" href="#restart-gqtp-server" title="このヘッドラインへのパーマリンク">¶</a></h3>
<p>groonga HTTPサーバーを再起動(Debian/Ubuntu/CentOS):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo service groonga-server-gqtp restart
</pre></div>
</div>
<p>groonga HTTPサーバーを再起動(Fedora):</p>
<div class="highlight-none"><div class="highlight"><pre>% sudo systemctl restart groonga-server-gqtp
</pre></div>
</div>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../index.html">目次</a></h3>
  <ul>
<li><a class="reference internal" href="#">7.1. サーバーパッケージ</a><ul>
<li><a class="reference internal" href="#groonga-httpd">7.1.1. groonga-httpd</a><ul>
<li><a class="reference internal" href="#start-http-server">7.1.1.1. HTTPサーバーを起動</a></li>
<li><a class="reference internal" href="#stop-http-server">7.1.1.2. HTTPサーバーを終了</a></li>
<li><a class="reference internal" href="#restart-http-server">7.1.1.3. HTTPサーバーを再起動</a></li>
</ul>
</li>
<li><a class="reference internal" href="#groonga-server-http">7.1.2. groonga-server-http</a><ul>
<li><a class="reference internal" href="#id1">7.1.2.1. HTTPサーバーを起動</a></li>
<li><a class="reference internal" href="#id2">7.1.2.2. HTTPサーバーを終了</a></li>
<li><a class="reference internal" href="#id3">7.1.2.3. HTTPサーバーを再起動</a></li>
</ul>
</li>
<li><a class="reference internal" href="#groonga-server-gqtp">7.1.3. groonga-server-gqtp</a><ul>
<li><a class="reference internal" href="#start-gqtp-server">7.1.3.1. GQTPサーバーを起動</a></li>
<li><a class="reference internal" href="#stop-gqtp-server">7.1.3.2. GQTPサーバーを終了</a></li>
<li><a class="reference internal" href="#restart-gqtp-server">7.1.3.3. GQTPサーバーを再起動</a></li>
</ul>
</li>
</ul>
</li>
</ul>

  <h4>前のトピックへ</h4>
  <p class="topless"><a href="../server.html"
                        title="前の章へ">7. サーバー</a></p>
  <h4>次のトピックへ</h4>
  <p class="topless"><a href="gqtp.html"
                        title="次の章へ">7.2. GQTP</a></p>
  <h3>このページ</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/server/package.txt"
           rel="nofollow">ソースコードを表示</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>クイック検索</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="検索" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    モジュール、クラス、または関数名を入力してください
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>ナビゲーション</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="総合索引"
             >索引</a></li>
        <li class="right" >
          <a href="gqtp.html" title="7.2. GQTP"
             >次へ</a> |</li>
        <li class="right" >
          <a href="../server.html" title="7. サーバー"
             >前へ</a> |</li>
        <li><a href="../index.html">groonga v3.0.5ドキュメント</a> &raquo;</li>
          <li><a href="../server.html" >7. サーバー</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2009-2013, Brazil, Inc.
    </div>
  </body>
</html>