YUKI Hiroshi
null+****@clear*****
Wed Sep 24 18:44:29 JST 2014
YUKI Hiroshi 2014-09-24 18:44:29 +0900 (Wed, 24 Sep 2014) New Revision: 6629f76eb11699db4f2bcb46cebef384e29c0a1e https://github.com/droonga/droonga.org/commit/6629f76eb11699db4f2bcb46cebef384e29c0a1e Message: Remove manual installation tutorial Removed files: _po/ja/tutorial/1.0.6/manual-install/index.po ja/tutorial/1.0.6/manual-install/index.md tutorial/1.0.6/manual-install/index.md tutorial/manual-install/index.html Modified files: _po/ja/install/index.po _po/ja/tutorial/1.0.6/groonga/index.po _po/ja/tutorial/1.0.6/index.po install/index.md ja/install/index.md ja/tutorial/1.0.6/groonga/index.md ja/tutorial/1.0.6/index.md tutorial/1.0.6/groonga/index.md tutorial/1.0.6/index.md Modified: _po/ja/install/index.po (+0 -15) =================================================================== --- _po/ja/install/index.po 2014-09-24 18:16:50 +0900 (9932df5) +++ _po/ja/install/index.po 2014-09-24 18:44:29 +0900 (e979e79) @@ -80,16 +80,6 @@ msgstr "" " * Ubuntu (最新のリリース、最新のLTS)\n" " * CentOS 7" -msgid "" -"Otherwise you have to install components manually.\n" -"See following descriptions." -msgstr "" -"それ以外の環境では、コンポーネントを手動でインストールする必要があります。\n" -"以下の説明を参照して下さい。" - -msgid "## Details for manual installation" -msgstr "## 手動インストールのための詳細情報" - msgid "-->" msgstr "" @@ -132,11 +122,6 @@ msgid " sudo npm install -g droonga-http-server" msgstr "" msgid "" -"For more details, see [tutorial for manual installation](../tutorial/manual-in" -"stall/)." -msgstr "詳細は[手動インストールのチュートリアル](../tutorial/manual-install/)を参照して下さい。" - -msgid "" " [Ruby]: http://www.ruby-lang.org/\n" " [Node.js]: http://nodejs.org/\n" " [droonga-engine]: https://github.com/droonga/droonga-engine\n" Modified: _po/ja/tutorial/1.0.6/groonga/index.po (+0 -22) =================================================================== --- _po/ja/tutorial/1.0.6/groonga/index.po 2014-09-24 18:16:50 +0900 (428d650) +++ _po/ja/tutorial/1.0.6/groonga/index.po 2014-09-24 18:44:29 +0900 (da187cc) @@ -243,14 +243,6 @@ msgid "" msgstr "" msgid "" -"If installation scripts didn't work as expected and you couldn't install them," -" see [the tutorial to install services without installation script](../manual-" -"install/)." -msgstr "" -"インストールスクリプトが期待通りに動作せずインストールできない場合は、[インストールスクリプトを使わない手動インストールの手順](../manual-ins" -"tall/)を参照して下さい。" - -msgid "" "After that, do same operations on another computer `node1` (`192.168.100.51`) " "also.\n" "Then two computers successfully prepared to work as Droonga nodes." @@ -445,13 +437,6 @@ msgid "" msgstr "" msgid "" -"If you set up your Droonga nodes manually, see [the manual installation tutori" -"al](../manual-install/#start-services) to know how to start daemons." -msgstr "" -"Droongaノードを手動でセットアップした場合のデーモンの起動方法は、[手動インストールの手順の説明](../manual-install/#start-" -"services)を参照して下さい。" - -msgid "" "By these commands, services start to work.\n" "Now two nodes construct a cluster and they monitor each other.\n" "If one of nodes dies and there is any still alive node, survivor(s) will work " @@ -520,13 +505,6 @@ msgid "" "~~~" msgstr "" -msgid "" -"If you set up your Droonga nodes manually, see [the manual installation tutori" -"al](../manual-install/#stop-services) to know how to stop daemons." -msgstr "" -"Droongaノードを手動でセットアップした場合のデーモンの停止方法は、[手動インストールの手順の説明](../manual-install/#stop-s" -"ervices)を参照して下さい。" - msgid "After verification, start services again, on each Droonga node." msgstr "確認が終わったら、再度サービスを起動しておきましょう:" Modified: _po/ja/tutorial/1.0.6/index.po (+2 -7) =================================================================== --- _po/ja/tutorial/1.0.6/index.po 2014-09-24 18:16:50 +0900 (d365222) +++ _po/ja/tutorial/1.0.6/index.po 2014-09-24 18:44:29 +0900 (90447a1) @@ -34,13 +34,8 @@ msgstr "" msgid "## For low-layer application developers" msgstr "## 低レイヤのアプリケーション開発者向け" -msgid "" -" * [Basic usage of low-layer commands](basic/)\n" -" * [How to setup Droonga services without installation script?](manual-install" -"/)" -msgstr "" -" * [低レイヤのコマンドの基本的な使い方](basic/)\n" -" * [インストールスクリプトを使わずにDroongaの構成サービスをセットアップする手順](manual-install/)" +msgid " * [Basic usage of low-layer commands](basic/)" +msgstr " * [低レイヤのコマンドの基本的な使い方](basic/)" msgid "## For plugin developers" msgstr "## プラグイン開発者向け" Deleted: _po/ja/tutorial/1.0.6/manual-install/index.po (+0 -254) 100644 =================================================================== --- _po/ja/tutorial/1.0.6/manual-install/index.po 2014-09-24 18:16:50 +0900 (31837b9) +++ /dev/null @@ -1,254 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2014-03-05 12:52+0900\n" -"Language: ja\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -msgid "" -"---\n" -"title: \"Droonga tutorial: How to setup Droonga services without installation s" -"cript?\"\n" -"layout: en\n" -"---" -msgstr "" -"---\n" -"title: \"Droonga チュートリアル: インストールスクリプトを使わずにDroongaの構成サービスをセットアップする手順\"\n" -"layout: ja\n" -"---" - -msgid "" -"* TOC\n" -"{:toc}" -msgstr "" - -msgid "## The goal of this tutorial" -msgstr "## チュートリアルのゴール" - -msgid "Learning steps to setup a Droonga node manually, without installation script." -msgstr "インストールスクリプトを使わずに、Droongaノードを手動でセットアップするための手順を学ぶこと。" - -msgid "## Why manual install?" -msgstr "## なぜ手動インストールが必要なのか?" - -msgid "" -"The installation script of `droonga-engine` and `droonga-http-server` works on" -"ly on several environments, for now:" -msgstr "`droonga-engine`と~droonga-http-server`のインストールスクリプトは、現在の所、いくつかの環境でのみ動作します:" - -msgid "" -" * Debian GNU/Linux (latest release)\n" -" * Ubuntu (latest release, latest LTS)\n" -" * CentOS 7" -msgstr "" -" * Debian GNU/Linux (最新のリリース)\n" -" * Ubuntu (最新のリリース、最新のLTS)\n" -" * CentOS 7" - -msgid "" -"Otherwise, you have to install services maually.\n" -"(If you have knowledge to support other platforms, please send a pull request!" -")" -msgstr "" -"それ以外の環境では、サービスを手動でインストールする必要があります。\n" -"(上記以外の環境に対応するための知識をお持ちの場合、是非プルリクエストをお送り下さい!)" - -msgid "" -"This tutorial describes how to setup `droonga-engine` and `droonga-http-server" -"` without installation script." -msgstr "" -"このチュートリアルでは、`droonga-engine`と`droonga-http-server`をインストールスクリプトを使わずにセットアップする方法を" -"解説します。" - -msgid "## Requirements" -msgstr "## 必要な物" - -msgid "" -" * 2GB or larger size RAM.\n" -" Because the gem package `rroonga` (required by `droonga-engine`) includes a" -" native extension, you won't be able to install it successfully if you have on" -"ly less RAM.\n" -" * Available `gem` command for the RubyGems.\n" -" * Available `npm` command for the npmjs.org." -msgstr "" -" * 2GB以上の大きさのRAM。\n" -" Gemパッケージ`rroonga`(`droonga-engine`によって要求されます)はネイティブ拡張を含んでおり、RAMの搭載量が小さいと、これ" -"をインストールすることができません。\n" -" * RubyGemsのための`gem`コマンドが利用できる状態になっていること。\n" -" * npmjs.orgのための`npm`コマンドが利用できる状態になっていること。" - -msgid "## Steps to install services" -msgstr "## サービスのインストール手順" - -msgid "" -" 1. Install platform packages required to install `gem` and `npm` packages wit" -"h native extensions.\n" -" For example, on an Ubuntu server you'll have to install these packages via" -" `apt`: `ruby`, `ruby-dev`, `build-essential`, `nodejs`, `nodejs-legacy`, and " -"`npm`.\n" -" On a CentOS 6.x server, you can prepare required environment by these step" -"s:" -msgstr "" -" 1. ネイティブ拡張を伴う`gem`や`npm`のパッケージをインストールするために必要な、プラットフォームごとのパッケージをインストールする。\n" -" 例えば、Ubuntuサーバであれば`apt`を使って以下のパッケージをインストールします:`ruby`, `ruby-dev`, `build-es" -"sential`, `nodejs`, `nodejs-legacy`, `npm` \n" -" CentOS 6.xサーバでは、以下の手順で必要な環境を用意できます:" - -msgid "" -" # yum -y groupinstall development\n" -" # curl -L get.rvm.io | bash -s stable\n" -" # source /etc/profile.d/rvm.sh\n" -" # rvm reload\n" -" # rvm install 2.1.2\n" -" # yum -y install npm" -msgstr "" - -msgid "" -" 2. Install a gem package `droonga-engine`.\n" -" It is the core component provides most features of Droonga system." -msgstr "" -" 2. Gemパッケージ `droonga-engine` をインストールする。\n" -" これはDroongaシステムの主要な機能を提供する、核となるコンポーネントです。" - -msgid " # gem install droonga-engine" -msgstr "" - -msgid "" -" 3. Install an npm package `droonga-http-server`.\n" -" It is the frontend component required to translate HTTP requests to Droong" -"a's native one." -msgstr "" -" 3. npmパッケージ `droonga-http-server` をインストールする。\n" -" これはHTTPのリクエストをDroongaネイティブのリクエストに変換するために必要な、フロントエンドとなるコンポーネントです。" - -msgid " # npm install -g droonga-http-server" -msgstr "" - -msgid "" -" 4. Prepare users for each service.\n" -" All configuration files and physical databases are placed under their home" -" directories." -msgstr "" -" 4. 描くサービスのためのユーザを作成する。\n" -" すべての設定ファイルと物理的なデータベースは、これらのユーザのホームディレクトリ以下に置かれます。" - -msgid "" -" # useradd -m droonga-engine\n" -" # useradd -m droonga-http-server" -msgstr "" - -msgid "" -" 5. Prepare a configuration directory `droonga` under the home directory of ea" -"ch user." -msgstr " 5. 設定の置き場所となる`droonga`ディレクトリを、各ユーザのホーム直下に作成する。" - -msgid "" -" # mkdir ~droonga-engine/droonga\n" -" # mkdir ~droonga-http-server/droonga" -msgstr "" - -msgid "" -" 6. Define an accessible host name or an IP address of the computer, for the n" -"ode name.\n" -" [It must be resolvable from other computers.](../groonga/#accessible-host-" -"name)" -msgstr "" -" 6. そのノードの名前として、アクセス可能なホスト名またはIPアドレスを定義する。\n" -" [この名前は、他のコンピュータから名前解決できる必要があります。](../groonga/#accessible-host-name)" - -msgid " # host=192.168.100.50" -msgstr "" - -msgid "" -" 7. Create a `droonga-engine.yaml` and `catalog.json` for `droonga-engine`.\n" -" Currently you have to specify the name of the node itself." -msgstr "" -" 7. `droonga-engine`用の設定ファイル`droonga-engine.yaml`と`catalog.json`を作成する。\n" -" 今の所、指定する必要があるのはそのノード自身の名前だけです。" - -msgid "" -" # cd ~droonga-engine/droonga\n" -" # droonga-engine-configure --quiet --reset-config --reset-catalog \\\n" -" --host=$host \\\n" -" --daemon\n" -" # chown -R droonga-engine:droonga-engine ~droonga-engine/droonga" -msgstr "" - -msgid "" -" 8. Create a `droonga-http-server.yaml` for `droonga-http-server`.\n" -" Currently you have to specify the host name of the droonga-engine node and" -" the name of the node itself.\n" -" For example, if both services work on the computer:" -msgstr "" -" 8. `droonga-http-server`用の設定ファイル`droonga-http-server.yaml`を作成する。\n" -" 今の所、指定する必要があるのは接続先にするdroonga-engineノードの名前と、そのノード自身の名前だけです。\n" -" 例えば、両方のサービスがそのコンピュータの上で動作するのであれば以下のようにします:" - -msgid "" -" # cd ~droonga-http-server/droonga\n" -" # droonga-http-server-configure --quiet --reset-config \\\n" -" --droonga-engine-host-name=$host \\\n" -" --receive-host-name=$host \\\n" -" --daemon\n" -" # chown -R droonga-http-server:droonga-http-server ~droonga-http-serve" -"r/droonga" -msgstr "" - -msgid "## How to start services {#start-services}" -msgstr "## サービスの起動方法 {#start-services}" - -msgid "" -"To start the `droonga-engine` service, run the `droonga-engine` command in the" -" configuration directory, like:" -msgstr "`droonga-engine`サービスを起動するには、以下のように、設定ディレクトリで`droonga-engine`コマンドを実行します:" - -msgid "" -" # cd ~droonga-engine/droonga\n" -" # sudo -u droonga-engine -H droonga-engine" -msgstr "" - -msgid "" -"To start the `droonga-http-server` service, run the `droonga-http-server` comm" -"and in the configuration directory, like:" -msgstr "" -"`droonga-http-server`サービスを起動するには、以下のように、設定ディレクトリで`droonga-http-server`コマンドを実行し" -"ます:" - -msgid "" -" # cd ~droonga-http-server/droonga\n" -" # sudo -u droonga-http-server -H droonga-http-server" -msgstr "" - -msgid "Then, PID files are automatically generated and services start as daemons." -msgstr "すると、PIDファイルが自動的に作成され、サービスがデーモンとして動作し始めます。" - -msgid "## How to stop services {#stop-services}" -msgstr "## サービスの停止方法 {#stop-services}" - -msgid "" -"To stop the `droonga-engine` service, run the `droonga-engine-stop` command, l" -"ike:" -msgstr "`droonga-engine`サービスを停止するには、以下のように`droonga-engine-stop`コマンドを実行します:" - -msgid "" -" # cd ~droonga-engine/droonga\n" -" # sudo -u droonga-engine -H droonga-engine-stop" -msgstr "" - -msgid "" -"To start the `droonga-http-server-stop` service, run the `droonga-http-server`" -" command, like:" -msgstr "`droonga-http-server`サービスを停止するには、以下のように`droonga-http-server-stop`コマンドを実行します:" - -msgid "" -" # cd ~droonga-http-server/droonga\n" -" # sudo -u droonga-http-server -H droonga-http-server-stop" -msgstr "" - -msgid "" -"These commands automatically detect the location of PID files and stop daemon " -"processes." -msgstr "これらのコマンドはPIDファイルの位置を自動的に検出し、デーモンのプロセスを停止します。" Modified: install/index.md (+0 -10) =================================================================== --- install/index.md 2014-09-24 18:16:50 +0900 (d67ffa3) +++ install/index.md 2014-09-24 18:44:29 +0900 (02b9a21) @@ -38,11 +38,6 @@ NOTE: currently the installation script works only on several environments: * Ubuntu (latest release, latest LTS) * CentOS 7 -Otherwise you have to install components manually. -See following descriptions. - -## Details for manual installation - --> ## Dependencies @@ -72,11 +67,6 @@ See following descriptions. Now you are ready for building your own data processing system with Droonga. See [tutorial](/tutorial/) to get started. -<!-- - -For more details, see [tutorial for manual installation](../tutorial/manual-install/). - ---> [Ruby]: http://www.ruby-lang.org/ [Node.js]: http://nodejs.org/ Modified: ja/install/index.md (+0 -10) =================================================================== --- ja/install/index.md 2014-09-24 18:16:50 +0900 (036395d) +++ ja/install/index.md 2014-09-24 18:44:29 +0900 (3b36133) @@ -47,11 +47,6 @@ Droongaは便利なインストールスクリプトを提供しています。 * Ubuntu (最新のリリース、最新のLTS) * CentOS 7 -それ以外の環境では、コンポーネントを手動でインストールする必要があります。 -以下の説明を参照して下さい。 - -## 手動インストールのための詳細情報 - --> ## 依存関係 @@ -81,11 +76,6 @@ Droongaは便利なインストールスクリプトを提供しています。 以上で、Droongaベースのデータ処理システムを構築する準備が整いました。ここから先は[チュートリアル](/ja/tutorial/)を参照して下さい。 -<!-- - -詳細は[手動インストールのチュートリアル](../tutorial/manual-install/)を参照して下さい。 - ---> [Ruby]: http://www.ruby-lang.org/ [Node.js]: http://nodejs.org/ Modified: ja/tutorial/1.0.6/groonga/index.md (+0 -6) =================================================================== --- ja/tutorial/1.0.6/groonga/index.md 2014-09-24 18:16:50 +0900 (13cb39e) +++ ja/tutorial/1.0.6/groonga/index.md 2014-09-24 18:44:29 +0900 (e96b518) @@ -121,8 +121,6 @@ Registering droonga-http-server as a service... Successfully installed droonga-http-server. ~~~ -インストールスクリプトが期待通りに動作せずインストールできない場合は、[インストールスクリプトを使わない手動インストールの手順](../manual-install/)を参照して下さい。 - ここまでの操作が終わったら、同じ操作をもう1台のコンピュータ `node1` (`192.168.100.51`) に対しても行います。 これで、無事に2台のコンピュータをDroongaノードとして動作させるための準備が整いました。 @@ -228,8 +226,6 @@ Droongaノードをインストールスクリプトを使ってセットアッ # service droonga-http-server start ~~~ -Droongaノードを手動でセットアップした場合のデーモンの起動方法は、[手動インストールの手順の説明](../manual-install/#start-services)を参照して下さい。 - これらのコマンドにより、各サービスが動作し始めます。 これで、2つのノードは1つのクラスタを形成し、お互いの状態を監視し合う状態になりました。 もしノードが1つ停止しても、他のノードが生存していれば、それらの生存ノードだけでDroongaクラスタは動作し続けます。 @@ -276,8 +272,6 @@ $ curl "http://node1:10041/droonga/system/status" | jq "." # service droonga-http-server stop ~~~ -Droongaノードを手動でセットアップした場合のデーモンの停止方法は、[手動インストールの手順の説明](../manual-install/#stop-services)を参照して下さい。 - 確認が終わったら、再度サービスを起動しておきましょう: ### テーブル、カラム、インデックスの作成 Modified: ja/tutorial/1.0.6/index.md (+0 -1) =================================================================== --- ja/tutorial/1.0.6/index.md 2014-09-24 18:16:50 +0900 (63e67aa) +++ ja/tutorial/1.0.6/index.md 2014-09-24 18:44:29 +0900 (221b6cc) @@ -21,7 +21,6 @@ layout: ja ## 低レイヤのアプリケーション開発者向け * [低レイヤのコマンドの基本的な使い方](basic/) - * [インストールスクリプトを使わずにDroongaの構成サービスをセットアップする手順](manual-install/) ## プラグイン開発者向け Deleted: ja/tutorial/1.0.6/manual-install/index.md (+0 -128) 100644 =================================================================== --- ja/tutorial/1.0.6/manual-install/index.md 2014-09-24 18:16:50 +0900 (4cd03de) +++ /dev/null @@ -1,128 +0,0 @@ ---- -title: "Droonga チュートリアル: インストールスクリプトを使わずにDroongaの構成サービスをセットアップする手順" -layout: ja ---- - -{% comment %} -############################################## - THIS FILE IS AUTOMATICALLY GENERATED FROM - "_po/ja/tutorial/1.0.6/manual-install/index.po" - DO NOT EDIT THIS FILE MANUALLY! -############################################## -{% endcomment %} - - -* TOC -{:toc} - -## チュートリアルのゴール - -インストールスクリプトを使わずに、Droongaノードを手動でセットアップするための手順を学ぶこと。 - -## なぜ手動インストールが必要なのか? - -`droonga-engine`と~droonga-http-server`のインストールスクリプトは、現在の所、いくつかの環境でのみ動作します: - - * Debian GNU/Linux (最新のリリース) - * Ubuntu (最新のリリース、最新のLTS) - * CentOS 7 - -それ以外の環境では、サービスを手動でインストールする必要があります。 -(上記以外の環境に対応するための知識をお持ちの場合、是非プルリクエストをお送り下さい!) - -このチュートリアルでは、`droonga-engine`と`droonga-http-server`をインストールスクリプトを使わずにセットアップする方法を解説します。 - -## 必要な物 - - * 2GB以上の大きさのRAM。 - Gemパッケージ`rroonga`(`droonga-engine`によって要求されます)はネイティブ拡張を含んでおり、RAMの搭載量が小さいと、これをインストールすることができません。 - * RubyGemsのための`gem`コマンドが利用できる状態になっていること。 - * npmjs.orgのための`npm`コマンドが利用できる状態になっていること。 - -## サービスのインストール手順 - - 1. ネイティブ拡張を伴う`gem`や`npm`のパッケージをインストールするために必要な、プラットフォームごとのパッケージをインストールする。 - 例えば、Ubuntuサーバであれば`apt`を使って以下のパッケージをインストールします:`ruby`, `ruby-dev`, `build-essential`, `nodejs`, `nodejs-legacy`, `npm` - CentOS 6.xサーバでは、以下の手順で必要な環境を用意できます: - - # yum -y groupinstall development - # curl -L get.rvm.io | bash -s stable - # source /etc/profile.d/rvm.sh - # rvm reload - # rvm install 2.1.2 - # yum -y install npm - - 2. Gemパッケージ `droonga-engine` をインストールする。 - これはDroongaシステムの主要な機能を提供する、核となるコンポーネントです。 - - # gem install droonga-engine - - 3. npmパッケージ `droonga-http-server` をインストールする。 - これはHTTPのリクエストをDroongaネイティブのリクエストに変換するために必要な、フロントエンドとなるコンポーネントです。 - - # npm install -g droonga-http-server - - 4. 描くサービスのためのユーザを作成する。 - すべての設定ファイルと物理的なデータベースは、これらのユーザのホームディレクトリ以下に置かれます。 - - # useradd -m droonga-engine - # useradd -m droonga-http-server - - 5. 設定の置き場所となる`droonga`ディレクトリを、各ユーザのホーム直下に作成する。 - - # mkdir ~droonga-engine/droonga - # mkdir ~droonga-http-server/droonga - - 6. そのノードの名前として、アクセス可能なホスト名またはIPアドレスを定義する。 - [この名前は、他のコンピュータから名前解決できる必要があります。](../groonga/#accessible-host-name) - - # host=192.168.100.50 - - 7. `droonga-engine`用の設定ファイル`droonga-engine.yaml`と`catalog.json`を作成する。 - 今の所、指定する必要があるのはそのノード自身の名前だけです。 - - # cd ~droonga-engine/droonga - # droonga-engine-configure --quiet --reset-config --reset-catalog \ - --host=$host \ - --daemon - # chown -R droonga-engine:droonga-engine ~droonga-engine/droonga - - 8. `droonga-http-server`用の設定ファイル`droonga-http-server.yaml`を作成する。 - 今の所、指定する必要があるのは接続先にするdroonga-engineノードの名前と、そのノード自身の名前だけです。 - 例えば、両方のサービスがそのコンピュータの上で動作するのであれば以下のようにします: - - # cd ~droonga-http-server/droonga - # droonga-http-server-configure --quiet --reset-config \ - --droonga-engine-host-name=$host \ - --receive-host-name=$host \ - --daemon - # chown -R droonga-http-server:droonga-http-server ~droonga-http-server/droonga - -## サービスの起動方法 {#start-services} - -`droonga-engine`サービスを起動するには、以下のように、設定ディレクトリで`droonga-engine`コマンドを実行します: - - # cd ~droonga-engine/droonga - # sudo -u droonga-engine -H droonga-engine - -`droonga-http-server`サービスを起動するには、以下のように、設定ディレクトリで`droonga-http-server`コマンドを実行します: - - # cd ~droonga-http-server/droonga - # sudo -u droonga-http-server -H droonga-http-server - -すると、PIDファイルが自動的に作成され、サービスがデーモンとして動作し始めます。 - -## サービスの停止方法 {#stop-services} - -`droonga-engine`サービスを停止するには、以下のように`droonga-engine-stop`コマンドを実行します: - - # cd ~droonga-engine/droonga - # sudo -u droonga-engine -H droonga-engine-stop - -`droonga-http-server`サービスを停止するには、以下のように`droonga-http-server-stop`コマンドを実行します: - - # cd ~droonga-http-server/droonga - # sudo -u droonga-http-server -H droonga-http-server-stop - -これらのコマンドはPIDファイルの位置を自動的に検出し、デーモンのプロセスを停止します。 - Modified: tutorial/1.0.6/groonga/index.md (+0 -6) =================================================================== --- tutorial/1.0.6/groonga/index.md 2014-09-24 18:16:50 +0900 (a59d3c5) +++ tutorial/1.0.6/groonga/index.md 2014-09-24 18:44:29 +0900 (40cc935) @@ -112,8 +112,6 @@ Registering droonga-http-server as a service... Successfully installed droonga-http-server. ~~~ -If installation scripts didn't work as expected and you couldn't install them, see [the tutorial to install services without installation script](../manual-install/). - After that, do same operations on another computer `node1` (`192.168.100.51`) also. Then two computers successfully prepared to work as Droonga nodes. @@ -219,8 +217,6 @@ To start them, run commands like following on each Droonga node: # service droonga-http-server start ~~~ -If you set up your Droonga nodes manually, see [the manual installation tutorial](../manual-install/#start-services) to know how to start daemons. - By these commands, services start to work. Now two nodes construct a cluster and they monitor each other. If one of nodes dies and there is any still alive node, survivor(s) will work as the Droonga cluster. @@ -267,8 +263,6 @@ To stop services, run commands like following on each Droonga node: # service droonga-http-server stop ~~~ -If you set up your Droonga nodes manually, see [the manual installation tutorial](../manual-install/#stop-services) to know how to stop daemons. - After verification, start services again, on each Droonga node. ### Create a table, columns, and indexes Modified: tutorial/1.0.6/index.md (+0 -1) =================================================================== --- tutorial/1.0.6/index.md 2014-09-24 18:16:50 +0900 (3182fe2) +++ tutorial/1.0.6/index.md 2014-09-24 18:44:29 +0900 (689d32b) @@ -12,7 +12,6 @@ layout: en ## For low-layer application developers * [Basic usage of low-layer commands](basic/) - * [How to setup Droonga services without installation script?](manual-install/) ## For plugin developers Deleted: tutorial/1.0.6/manual-install/index.md (+0 -119) 100755 =================================================================== --- tutorial/1.0.6/manual-install/index.md 2014-09-24 18:16:50 +0900 (7647720) +++ /dev/null @@ -1,119 +0,0 @@ ---- -title: "Droonga tutorial: How to setup Droonga services without installation script?" -layout: en ---- - -* TOC -{:toc} - -## The goal of this tutorial - -Learning steps to setup a Droonga node manually, without installation script. - -## Why manual install? - -The installation script of `droonga-engine` and `droonga-http-server` works only on several environments, for now: - - * Debian GNU/Linux (latest release) - * Ubuntu (latest release, latest LTS) - * CentOS 7 - -Otherwise, you have to install services maually. -(If you have knowledge to support other platforms, please send a pull request!) - -This tutorial describes how to setup `droonga-engine` and `droonga-http-server` without installation script. - -## Requirements - - * 2GB or larger size RAM. - Because the gem package `rroonga` (required by `droonga-engine`) includes a native extension, you won't be able to install it successfully if you have only less RAM. - * Available `gem` command for the RubyGems. - * Available `npm` command for the npmjs.org. - -## Steps to install services - - 1. Install platform packages required to install `gem` and `npm` packages with native extensions. - For example, on an Ubuntu server you'll have to install these packages via `apt`: `ruby`, `ruby-dev`, `build-essential`, `nodejs`, `nodejs-legacy`, and `npm`. - On a CentOS 6.x server, you can prepare required environment by these steps: - - # yum -y groupinstall development - # curl -L get.rvm.io | bash -s stable - # source /etc/profile.d/rvm.sh - # rvm reload - # rvm install 2.1.2 - # yum -y install npm - - 2. Install a gem package `droonga-engine`. - It is the core component provides most features of Droonga system. - - # gem install droonga-engine - - 3. Install an npm package `droonga-http-server`. - It is the frontend component required to translate HTTP requests to Droonga's native one. - - # npm install -g droonga-http-server - - 4. Prepare users for each service. - All configuration files and physical databases are placed under their home directories. - - # useradd -m droonga-engine - # useradd -m droonga-http-server - - 5. Prepare a configuration directory `droonga` under the home directory of each user. - - # mkdir ~droonga-engine/droonga - # mkdir ~droonga-http-server/droonga - - 6. Define an accessible host name or an IP address of the computer, for the node name. - [It must be resolvable from other computers.](../groonga/#accessible-host-name) - - # host=192.168.100.50 - - 7. Create a `droonga-engine.yaml` and `catalog.json` for `droonga-engine`. - Currently you have to specify the name of the node itself. - - # cd ~droonga-engine/droonga - # droonga-engine-configure --quiet --reset-config --reset-catalog \ - --host=$host \ - --daemon - # chown -R droonga-engine:droonga-engine ~droonga-engine/droonga - - 8. Create a `droonga-http-server.yaml` for `droonga-http-server`. - Currently you have to specify the host name of the droonga-engine node and the name of the node itself. - For example, if both services work on the computer: - - # cd ~droonga-http-server/droonga - # droonga-http-server-configure --quiet --reset-config \ - --droonga-engine-host-name=$host \ - --receive-host-name=$host \ - --daemon - # chown -R droonga-http-server:droonga-http-server ~droonga-http-server/droonga - -## How to start services {#start-services} - -To start the `droonga-engine` service, run the `droonga-engine` command in the configuration directory, like: - - # cd ~droonga-engine/droonga - # sudo -u droonga-engine -H droonga-engine - -To start the `droonga-http-server` service, run the `droonga-http-server` command in the configuration directory, like: - - # cd ~droonga-http-server/droonga - # sudo -u droonga-http-server -H droonga-http-server - -Then, PID files are automatically generated and services start as daemons. - -## How to stop services {#stop-services} - -To stop the `droonga-engine` service, run the `droonga-engine-stop` command, like: - - # cd ~droonga-engine/droonga - # sudo -u droonga-engine -H droonga-engine-stop - -To start the `droonga-http-server-stop` service, run the `droonga-http-server` command, like: - - # cd ~droonga-http-server/droonga - # sudo -u droonga-http-server -H droonga-http-server-stop - -These commands automatically detect the location of PID files and stop daemon processes. - Deleted: tutorial/manual-install/index.html (+0 -4) 100644 =================================================================== --- tutorial/manual-install/index.html 2014-09-24 18:16:50 +0900 (9e27525) +++ /dev/null @@ -1,4 +0,0 @@ ---- -layout: redirect-to-current-version -unversioned_path: /tutorial/ ---- -------------- next part -------------- HTML����������������������������...Descargar