[Groonga-commit] droonga/wikipedia-search.wiki at 1a3d783 [master] Updated Droongaノードのセットアップ手順 (markdown)

Back to archive index

YUKI Piro Hiroshi null+****@clear*****
Tue Apr 8 18:18:14 JST 2014


YUKI "Piro" Hiroshi	2014-04-08 18:18:14 +0900 (Tue, 08 Apr 2014)

  New Revision: 1a3d783d8492e433f0011dc47455ee1f18ab68e8
  https://github.com/droonga/wikipedia-search/wiki/Droonga%E3%83%8E%E3%83%BC%E3%83%89%E3%81%AE%E3%82%BB%E3%83%83%E3%83%88%E3%82%A2%E3%83%83%E3%83%97%E6%89%8B%E9%A0%86/1a3d783d8492e433f0011dc47455ee1f18ab68e8

  Message:
    Updated Droongaノードのセットアップ手順 (markdown)

  Modified files:
    Droongaノードのセットアップ手順.md

  Modified: Droongaノードのセットアップ手順.md (+27 -2)
===================================================================
--- Droongaノードのセットアップ手順.md    2014-04-08 15:55:52 +0900 (6af3a10)
+++ Droongaノードのセットアップ手順.md    2014-04-08 18:18:14 +0900 (949c9f6)
@@ -28,6 +28,31 @@ catalog.jsonに含まれない以下のパラメータが必要である。
     % mkdir testserver
     % cd testserver
     % vagrant init ubuntu13.10
-    % vagrant up
+
+設定を書き換えて、固定IPで接続できるようにする。
+
+    % ip=192.168.1.54
+    % net=wlan0
+    % mv Vagrantfile Vagrantfile.bak
+    % cat Vagrantfile.bak | \
+      sed -r -e "s/(^ *)# *(config.vm.network *:bridged)/\1\2, :ip => \"${ip}\", :bridge => \"${net}\"/" \
+      > Vagrantfile
+    % vagrant ssh-config --host ubuntu13.10 | \
+      sed -r -e "s/2222/22/" \ 
+             -e "s/127.0.0.1/${ip}/" \
+      >> ~/.ssh/config
+
+設定ができたか確認する。
+
     % vagrant ssh
-    % exit
\ No newline at end of file
+    % exit
+    % ssh vagrant@${ip} -p 22 -i ~/.vagrant.d/insecure_private_key ubuntu13.10
+    % exit
+    % ssh ubuntu13.10
+    % exit
+
+
+chef soloを実験環境にインストールする。
+
+    % vagrant up
+
-------------- next part --------------
HTML����������������������������...
Download 



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