Skip to content

Instantly share code, notes, and snippets.

@dolphin-dev
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dolphin-dev/6461a80c70946d246a5e to your computer and use it in GitHub Desktop.
Save dolphin-dev/6461a80c70946d246a5e to your computer and use it in GitHub Desktop.
Test Result
1. MacMini へ VirtualBox インストール
2. VirtuaBox へ 日レセインストール
  • OS Ubuntu 14.04-LTS
  • ORCA 4.8 glclient2で起動
3. Ubuntu へ Docker インストール

Dcker 公式ページの手順

$ sudo apt-get update
$ sudo apt-get install curl
$ curl -sSL https://get.docker.com/ | sh
$ sudo service docker start
4. DockerへDolphin用のPostgresとWildFlyインストール
$ sudo docker pull dolphindev/postgres
$ sudo docker pull dolphindev/wildfly

$ sudo docker run --name dolphin-db -P -d dolphindev/postgres  <- 新たに P(Upper Case)をつける
$ sudo docker run --name dolphin-server  --link dolphin-db:ds -p 8080:8080 -d dolphindev/wildfly <- これは変更なし
5. VirtualBox 設定

Ubuntu の Network 設定

  • 割り当て NAT
  • ポートフォーワーディング(下記)
名前 プロトコル ホストIP ホストポート ゲストIP ゲストポート
Postgres TCP 空白 5432 空白 5432
WildFly TCP 空白 8080 空白 8080
6. ORCA Postgres設定

Ubuntuへログインし設定ファイルを変更

$ sudo service jma-receipt stop

$ sudo gedit /etc/postgresql/9.3/main/postgres.conf
listen_address = '*'  <- 変更箇所、行頭の#もとる

$ sudo gedit /etc/postgresql/9.3/main/pg_hba.conf
host all all 0.0.0.0/0 trust  <- この行を追加する

$ sudo service postgresql stop
$ sudo service postgresql start
$ sudo service jma-receipt start

$ sudo ufw disable <- FireWall 停止
7. OpenDolphinクライアント設定
  • ベースURI http://macmini_ip:8080
  • レセコンタブ 接続方式 クライアント
  • レセコン IPアドレス macmini_ip
8. 確認

異なる端末のOpenDolphinから

  • WildFly サーバーへログイン
  • ORCA のマスター検索可
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment