<!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.1. Windows — 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="2. インストール" href="../install.html" /> <link rel="next" title="2.2. Mac OS X" href="mac_os_x.html" /> <link rel="prev" title="2. インストール" href="../install.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/install/windows.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="mac_os_x.html" title="2.2. Mac OS X" accesskey="N">次へ</a> |</li> <li class="right" > <a href="../install.html" title="2. インストール" accesskey="P">前へ</a> |</li> <li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li> <li><a href="../install.html" accesskey="U">2. インストール</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="windows"> <h1>2.1. Windows<a class="headerlink" href="#windows" title="このヘッドラインへのパーマリンク">¶</a></h1> <p>このセクションではWindows上でgroongaをインストールする方法を説明します。groongaをインストールするにはzipパッケージを展開する方法とインストーラーを実行する方法があります。</p> <p>32-bit用と64-bit用のパッケージを配布していますが、サーバ用途には64-bitパッケージを利用することをオススメします。32-bit用パッケージはテスト用か開発用にだけ使って下さい。32-bit用パッケージを使った場合は、中程度のサイズのデータでもメモリ不足エラーになることがあります。</p> <div class="section" id="installer"> <h2>2.1.1. インストーラー<a class="headerlink" href="#installer" title="このヘッドラインへのパーマリンク">¶</a></h2> <p>32-bit環境の場合は、x86のバイナリをpackages.groonga.orgからダウンロードしてください。</p> <p>コマンドラインの操作でバイナリをダウンロードすることができます。</p> <p>コマンドプロンプト <tt class="docutils literal"><span class="pre">cmd.exe</span></tt> を起動し、x86バイナリをブラウザを使ってダウンロードします。:</p> <div class="highlight-none"><div class="highlight"><pre>> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x86.exe </pre></div> </div> <p>その後、バイナリを実行します。</p> <p>64-bit環境の場合は、x64のバイナリをpackages.groonga.orgからダウンロードしてください。</p> <p>コマンドプロンプト <tt class="docutils literal"><span class="pre">cmd.exe</span></tt> を起動し、x64バイナリをブラウザを使ってダウンロードします。:</p> <div class="highlight-none"><div class="highlight"><pre>> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x64.exe </pre></div> </div> <p>その後、バイナリを実行します。</p> <p>スタートメニュー内に <a class="reference internal" href="../reference/executables/groonga.html"><em>groongaコマンド</em></a> 用のコマンドプロンプトがインストールされるのでそれを使ってください。</p> </div> <div class="section" id="zip"> <h2>2.1.2. zip<a class="headerlink" href="#zip" title="このヘッドラインへのパーマリンク">¶</a></h2> <p>32-bit環境の場合は、x86のzipアーカイブをpackages.groonga.orgからダウンロードしてください。</p> <p>コマンドラインの操作でバイナリをダウンロードすることができます。</p> <p>コマンドプロンプト <tt class="docutils literal"><span class="pre">cmd.exe</span></tt> を起動し、x86バイナリをブラウザを使ってダウンロードします。:</p> <div class="highlight-none"><div class="highlight"><pre>> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x86.zip </pre></div> </div> <p>その後、アーカイブを展開します。</p> <p>64-bit環境の場合は、x64のzipアーカイブをpackages.groonga.orgからダウンロードしてください。</p> <p>コマンドプロンプト <tt class="docutils literal"><span class="pre">cmd.exe</span></tt> を起動し、x64バイナリをブラウザを使ってダウンロードします。:</p> <div class="highlight-none"><div class="highlight"><pre>> "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/windows/groonga/groonga-3.0.5-x64.zip </pre></div> </div> <p>その後、アーカイブを展開します。</p> <p><a class="reference internal" href="../reference/executables/groonga.html"><em>groongaコマンド</em></a> は <tt class="docutils literal"><span class="pre">bin</span></tt> フォルダーにあります。</p> </div> <div class="section" id="build-from-source"> <h2>2.1.3. ソースからビルド<a class="headerlink" href="#build-from-source" title="このヘッドラインへのパーマリンク">¶</a></h2> <p>まずWindows上でgroongaをビルドするために必須のツールをインストールします。以下が必須のツールです。</p> <blockquote> <div><ul class="simple"> <li><a class="reference external" href="http://www.microsoft.com/japan/msdn/vstudio/express/">Microsoft Visual Studio 2010 Express</a></li> <li><a class="reference external" href="http://www.cmake.org/">CMake</a></li> </ul> </div></blockquote> <p>zipアーカイブをpackages.groonga.orgからダウンロードしてください。</p> <p>コマンドラインの操作でzipソースファイルをダウンロードすることができます。</p> <p>Microsoft Visual Studio 2010 Expressがインストールする <tt class="docutils literal"><span class="pre">Visual</span> <span class="pre">Studio</span> <span class="pre">コマンド</span> <span class="pre">プロンプト</span> <span class="pre">(2010)</span></tt> を実行して、groongaのソースをブラウザでダウンロードしてください:</p> <div class="highlight-none"><div class="highlight"><pre>> cd c:\Users\%USERNAME%\Downloads > "c:\\Program Files\\Internet Explorer\\iexplore.exe" http://packages.groonga.org/source/groonga/groonga-3.0.5.zip </pre></div> </div> <p>その後、アーカイブを展開します。</p> <p>groongaのソースフォルダへと移動します:</p> <div class="highlight-none"><div class="highlight"><pre>> cd c:\Users\%USERNAME%\Downloads\groonga-3.0.5 </pre></div> </div> <p><tt class="docutils literal"><span class="pre">cmake</span></tt> でビルドオプションを設定します。以下のコマンドラインは64-bit用のgroongaをビルドするためのものです。32-bit用のgroongaをビルドする場合は代わりに <tt class="docutils literal"><span class="pre">-G</span> <span class="pre">"Visual</span> <span class="pre">Studio</span> <span class="pre">10"</span></tt> パラメーターを指定してください:</p> <div class="highlight-none"><div class="highlight"><pre>groonga-3.0.5> cmake . -G "Visual Studio 10 Win64" -DCMAKE_INSTALL_PREFIX=C:\groonga </pre></div> </div> <p>ビルド:</p> <div class="highlight-none"><div class="highlight"><pre>groonga-3.0.5> cmake --build . --config Release </pre></div> </div> <p>インストール:</p> <div class="highlight-none"><div class="highlight"><pre>groonga-3.0.5> cmake --build . --config Release --target Install </pre></div> </div> <p>以上の手順で <a class="reference internal" href="../reference/executables/groonga.html"><em>groongaコマンド</em></a> が <tt class="docutils literal"><span class="pre">c:\groonga\bin\groonga.exe</span></tt> にインストールされます。</p> </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="#">2.1. Windows</a><ul> <li><a class="reference internal" href="#installer">2.1.1. インストーラー</a></li> <li><a class="reference internal" href="#zip">2.1.2. zip</a></li> <li><a class="reference internal" href="#build-from-source">2.1.3. ソースからビルド</a></li> </ul> </li> </ul> <h4>前のトピックへ</h4> <p class="topless"><a href="../install.html" title="前の章へ">2. インストール</a></p> <h4>次のトピックへ</h4> <p class="topless"><a href="mac_os_x.html" title="次の章へ">2.2. Mac OS X</a></p> <h3>このページ</h3> <ul class="this-page-menu"> <li><a href="../_sources/install/windows.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="mac_os_x.html" title="2.2. Mac OS X" >次へ</a> |</li> <li class="right" > <a href="../install.html" title="2. インストール" >前へ</a> |</li> <li><a href="../index.html">groonga v3.0.5ドキュメント</a> »</li> <li><a href="../install.html" >2. インストール</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2013, Brazil, Inc. </div> </body> </html>