[Groonga-commit] droonga/droonga.org at 6fb85b3 [gh-pages] Write host name directly

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Apr 28 14:03:34 JST 2014


YUKI Hiroshi	2014-04-28 14:03:34 +0900 (Mon, 28 Apr 2014)

  New Revision: 6fb85b3bf020541bd0abe7564e00b2ebc84740cc
  https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc

  Message:
    Write host name directly

  Modified files:
    tutorial/groonga/index.md

  Modified: tutorial/groonga/index.md (+4 -6)
===================================================================
--- tutorial/groonga/index.md    2014-04-28 14:03:19 +0900 (f6bae47)
+++ tutorial/groonga/index.md    2014-04-28 14:03:34 +0900 (3a40703)
@@ -110,12 +110,11 @@ On the other hand, you have to run two servers for each Droonga node to use your
 To start them, run commands like following on each Droonga node:
 
     # cd ~/droonga
-    # host=192.168.0.10
-    # droonga-engine --host=$host &
+    # droonga-engine --host=192.168.0.10 &
     # cat $! > droonga-engine.pid
     # droonga-http-server --port=3000 \
-                          --receive-host-name=$host \
-                          --droonga-engine-host-name=$host \
+                          --receive-host-name=192.168.0.10 \
+                          --droonga-engine-host-name=192.168.0.10 \
                           --default-dataset=Starbucks \
                           --daemon \
                           --pid-file droonga-http-server.pid
@@ -125,8 +124,7 @@ It will be used to communicate with other Droonga nodes in the cluster.
 So you have to specify different host name on another Droonga node, like:
 
     # cd ~/droonga
-    # host=192.168.0.11
-    # droonga-engine --host=$host &
+    # droonga-engine --host=192.168.0.11 &
     ...
 
 To stop services, run commands like following on each Droonga node:
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index