[Groonga-commit] droonga/droonga.org at 2fa0885 [gh-pages] Update command lines

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Thu May 29 21:27:38 JST 2014


YUKI Hiroshi	2014-05-29 21:27:38 +0900 (Thu, 29 May 2014)

  New Revision: 2fa088503c32ea3a0b2b1fb32c43b93007795008
  https://github.com/droonga/droonga.org/commit/2fa088503c32ea3a0b2b1fb32c43b93007795008

  Message:
    Update command lines

  Modified files:
    _po/ja/tutorial/1.0.3/add-replica/index.po
    _po/ja/tutorial/1.0.4/add-replica/index.po
    ja/tutorial/1.0.3/add-replica/index.md
    ja/tutorial/1.0.4/add-replica/index.md
    tutorial/1.0.3/add-replica/index.md
    tutorial/1.0.4/add-replica/index.md

  Modified: _po/ja/tutorial/1.0.3/add-replica/index.po (+12 -12)
===================================================================
--- _po/ja/tutorial/1.0.3/add-replica/index.po    2014-05-29 21:24:36 +0900 (f310c0b)
+++ _po/ja/tutorial/1.0.3/add-replica/index.po    2014-05-29 21:27:38 +0900 (c486b9c)
@@ -128,7 +128,8 @@ msgid ""
 "    (on 192.168.0.12)\n"
 "    # apt-get update\n"
 "    # apt-get -y upgrade\n"
-"    # apt-get install -y ruby ruby-dev build-essential nodejs npm\n"
+"    # apt-get install -y ruby ruby-dev build-essential nodejs nodejs-legacy np"
+"m\n"
 "    # gem install droonga-engine\n"
 "    # npm install -g droonga-http-server\n"
 "    # mkdir ~/droonga"
@@ -162,20 +163,19 @@ msgstr "では、サーバを起動しましょう。"
 
 msgid ""
 "    (on 192.168.0.12)\n"
+"    # cd ~/droonga\n"
 "    # host=192.168.0.12\n"
 "    # droonga-engine --host=$host \\\n"
-"                     --log-file=~/droonga/droonga-engine.log \\\n"
+"                     --log-file=$PWD/droonga-engine.log \\\n"
 "                     --daemon \\\n"
-"                     --pid-file=~/droonga/droonga-engine.pid\n"
-"    # droonga-http-server --port=10041 \\\n"
-"                          --receive-host-name=$host \\\n"
-"                          --droonga-engine-host-name=$host \\\n"
-"                          --access-log-file=~/droonga/droonga-http-server.acce"
-"ss.log \\\n"
-"                          --system-log-file=~/droonga/droonga-http-server.syst"
-"em.log \\\n"
-"                          --daemon \\\n"
-"                          --pid-file=~/droonga/droonga-http-server.pid"
+"                     --pid-file=$PWD/droonga-engine.pid\n"
+"    # env NODE_ENV=production \\\n"
+"        droonga-http-server --port=10041 \\\n"
+"                            --receive-host-name=$host \\\n"
+"                            --droonga-engine-host-name=$host \\\n"
+"                            --cache-size=-1 \\\n"
+"                            --daemon \\\n"
+"                            --pid-file=$PWD/droonga-http-server.pid"
 msgstr ""
 
 msgid "Then there are two separate Droonga clusters on this time."

  Modified: _po/ja/tutorial/1.0.4/add-replica/index.po (+12 -12)
===================================================================
--- _po/ja/tutorial/1.0.4/add-replica/index.po    2014-05-29 21:24:36 +0900 (f310c0b)
+++ _po/ja/tutorial/1.0.4/add-replica/index.po    2014-05-29 21:27:38 +0900 (c486b9c)
@@ -128,7 +128,8 @@ msgid ""
 "    (on 192.168.0.12)\n"
 "    # apt-get update\n"
 "    # apt-get -y upgrade\n"
-"    # apt-get install -y ruby ruby-dev build-essential nodejs npm\n"
+"    # apt-get install -y ruby ruby-dev build-essential nodejs nodejs-legacy np"
+"m\n"
 "    # gem install droonga-engine\n"
 "    # npm install -g droonga-http-server\n"
 "    # mkdir ~/droonga"
@@ -162,20 +163,19 @@ msgstr "では、サーバを起動しましょう。"
 
 msgid ""
 "    (on 192.168.0.12)\n"
+"    # cd ~/droonga\n"
 "    # host=192.168.0.12\n"
 "    # droonga-engine --host=$host \\\n"
-"                     --log-file=~/droonga/droonga-engine.log \\\n"
+"                     --log-file=$PWD/droonga-engine.log \\\n"
 "                     --daemon \\\n"
-"                     --pid-file=~/droonga/droonga-engine.pid\n"
-"    # droonga-http-server --port=10041 \\\n"
-"                          --receive-host-name=$host \\\n"
-"                          --droonga-engine-host-name=$host \\\n"
-"                          --access-log-file=~/droonga/droonga-http-server.acce"
-"ss.log \\\n"
-"                          --system-log-file=~/droonga/droonga-http-server.syst"
-"em.log \\\n"
-"                          --daemon \\\n"
-"                          --pid-file=~/droonga/droonga-http-server.pid"
+"                     --pid-file=$PWD/droonga-engine.pid\n"
+"    # env NODE_ENV=production \\\n"
+"        droonga-http-server --port=10041 \\\n"
+"                            --receive-host-name=$host \\\n"
+"                            --droonga-engine-host-name=$host \\\n"
+"                            --cache-size=-1 \\\n"
+"                            --daemon \\\n"
+"                            --pid-file=$PWD/droonga-http-server.pid"
 msgstr ""
 
 msgid "Then there are two separate Droonga clusters on this time."

  Modified: ja/tutorial/1.0.3/add-replica/index.md (+11 -10)
===================================================================
--- ja/tutorial/1.0.3/add-replica/index.md    2014-05-29 21:24:36 +0900 (70f2e5d)
+++ ja/tutorial/1.0.3/add-replica/index.md    2014-05-29 21:27:38 +0900 (84e4d6a)
@@ -59,7 +59,7 @@ Droongaのノードの集合には、「replica」と「slice」という2つの
     (on 192.168.0.12)
     # apt-get update
     # apt-get -y upgrade
-    # apt-get install -y ruby ruby-dev build-essential nodejs npm
+    # apt-get install -y ruby ruby-dev build-essential nodejs nodejs-legacy npm
     # gem install droonga-engine
     # npm install -g droonga-http-server
     # mkdir ~/droonga
@@ -79,18 +79,19 @@ Droongaのノードの集合には、「replica」と「slice」という2つの
 では、サーバを起動しましょう。
 
     (on 192.168.0.12)
+    # cd ~/droonga
     # host=192.168.0.12
     # droonga-engine --host=$host \
-                     --log-file=~/droonga/droonga-engine.log \
+                     --log-file=$PWD/droonga-engine.log \
                      --daemon \
-                     --pid-file=~/droonga/droonga-engine.pid
-    # droonga-http-server --port=10041 \
-                          --receive-host-name=$host \
-                          --droonga-engine-host-name=$host \
-                          --access-log-file=~/droonga/droonga-http-server.access.log \
-                          --system-log-file=~/droonga/droonga-http-server.system.log \
-                          --daemon \
-                          --pid-file=~/droonga/droonga-http-server.pid
+                     --pid-file=$PWD/droonga-engine.pid
+    # env NODE_ENV=production \
+        droonga-http-server --port=10041 \
+                            --receive-host-name=$host \
+                            --droonga-engine-host-name=$host \
+                            --cache-size=-1 \
+                            --daemon \
+                            --pid-file=$PWD/droonga-http-server.pid
 
 この時点で、2つの別々のDroongaクラスタが存在するようになりました。
 

  Modified: ja/tutorial/1.0.4/add-replica/index.md (+11 -10)
===================================================================
--- ja/tutorial/1.0.4/add-replica/index.md    2014-05-29 21:24:36 +0900 (30247b6)
+++ ja/tutorial/1.0.4/add-replica/index.md    2014-05-29 21:27:38 +0900 (8d9b9d4)
@@ -59,7 +59,7 @@ Droongaのノードの集合には、「replica」と「slice」という2つの
     (on 192.168.0.12)
     # apt-get update
     # apt-get -y upgrade
-    # apt-get install -y ruby ruby-dev build-essential nodejs npm
+    # apt-get install -y ruby ruby-dev build-essential nodejs nodejs-legacy npm
     # gem install droonga-engine
     # npm install -g droonga-http-server
     # mkdir ~/droonga
@@ -79,18 +79,19 @@ Droongaのノードの集合には、「replica」と「slice」という2つの
 では、サーバを起動しましょう。
 
     (on 192.168.0.12)
+    # cd ~/droonga
     # host=192.168.0.12
     # droonga-engine --host=$host \
-                     --log-file=~/droonga/droonga-engine.log \
+                     --log-file=$PWD/droonga-engine.log \
                      --daemon \
-                     --pid-file=~/droonga/droonga-engine.pid
-    # droonga-http-server --port=10041 \
-                          --receive-host-name=$host \
-                          --droonga-engine-host-name=$host \
-                          --access-log-file=~/droonga/droonga-http-server.access.log \
-                          --system-log-file=~/droonga/droonga-http-server.system.log \
-                          --daemon \
-                          --pid-file=~/droonga/droonga-http-server.pid
+                     --pid-file=$PWD/droonga-engine.pid
+    # env NODE_ENV=production \
+        droonga-http-server --port=10041 \
+                            --receive-host-name=$host \
+                            --droonga-engine-host-name=$host \
+                            --cache-size=-1 \
+                            --daemon \
+                            --pid-file=$PWD/droonga-http-server.pid
 
 この時点で、2つの別々のDroongaクラスタが存在するようになりました。
 

  Modified: tutorial/1.0.3/add-replica/index.md (+11 -10)
===================================================================
--- tutorial/1.0.3/add-replica/index.md    2014-05-29 21:24:36 +0900 (b49a426)
+++ tutorial/1.0.3/add-replica/index.md    2014-05-29 21:27:38 +0900 (41155cd)
@@ -50,7 +50,7 @@ First, prepare a new computer, install required softwares and configure them.
     (on 192.168.0.12)
     # apt-get update
     # apt-get -y upgrade
-    # apt-get install -y ruby ruby-dev build-essential nodejs npm
+    # apt-get install -y ruby ruby-dev build-essential nodejs nodejs-legacy npm
     # gem install droonga-engine
     # npm install -g droonga-http-server
     # mkdir ~/droonga
@@ -71,18 +71,19 @@ For the new node, you have to generate a `custom.json` includes only one node, w
 Let's start the server.
 
     (on 192.168.0.12)
+    # cd ~/droonga
     # host=192.168.0.12
     # droonga-engine --host=$host \
-                     --log-file=~/droonga/droonga-engine.log \
+                     --log-file=$PWD/droonga-engine.log \
                      --daemon \
-                     --pid-file=~/droonga/droonga-engine.pid
-    # droonga-http-server --port=10041 \
-                          --receive-host-name=$host \
-                          --droonga-engine-host-name=$host \
-                          --access-log-file=~/droonga/droonga-http-server.access.log \
-                          --system-log-file=~/droonga/droonga-http-server.system.log \
-                          --daemon \
-                          --pid-file=~/droonga/droonga-http-server.pid
+                     --pid-file=$PWD/droonga-engine.pid
+    # env NODE_ENV=production \
+        droonga-http-server --port=10041 \
+                            --receive-host-name=$host \
+                            --droonga-engine-host-name=$host \
+                            --cache-size=-1 \
+                            --daemon \
+                            --pid-file=$PWD/droonga-http-server.pid
 
 Then there are two separate Droonga clusters on this time.
 

  Modified: tutorial/1.0.4/add-replica/index.md (+11 -10)
===================================================================
--- tutorial/1.0.4/add-replica/index.md    2014-05-29 21:24:36 +0900 (b49a426)
+++ tutorial/1.0.4/add-replica/index.md    2014-05-29 21:27:38 +0900 (41155cd)
@@ -50,7 +50,7 @@ First, prepare a new computer, install required softwares and configure them.
     (on 192.168.0.12)
     # apt-get update
     # apt-get -y upgrade
-    # apt-get install -y ruby ruby-dev build-essential nodejs npm
+    # apt-get install -y ruby ruby-dev build-essential nodejs nodejs-legacy npm
     # gem install droonga-engine
     # npm install -g droonga-http-server
     # mkdir ~/droonga
@@ -71,18 +71,19 @@ For the new node, you have to generate a `custom.json` includes only one node, w
 Let's start the server.
 
     (on 192.168.0.12)
+    # cd ~/droonga
     # host=192.168.0.12
     # droonga-engine --host=$host \
-                     --log-file=~/droonga/droonga-engine.log \
+                     --log-file=$PWD/droonga-engine.log \
                      --daemon \
-                     --pid-file=~/droonga/droonga-engine.pid
-    # droonga-http-server --port=10041 \
-                          --receive-host-name=$host \
-                          --droonga-engine-host-name=$host \
-                          --access-log-file=~/droonga/droonga-http-server.access.log \
-                          --system-log-file=~/droonga/droonga-http-server.system.log \
-                          --daemon \
-                          --pid-file=~/droonga/droonga-http-server.pid
+                     --pid-file=$PWD/droonga-engine.pid
+    # env NODE_ENV=production \
+        droonga-http-server --port=10041 \
+                            --receive-host-name=$host \
+                            --droonga-engine-host-name=$host \
+                            --cache-size=-1 \
+                            --daemon \
+                            --pid-file=$PWD/droonga-http-server.pid
 
 Then there are two separate Droonga clusters on this time.
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る