bundle config build.nokogiri --use-system-libraries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install go | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/go-1.2.2.mavericks.bottle.tar.gz | |
######################################################################## 100.0% | |
==> Pouring go-1.2.2.mavericks.bottle.tar.gz | |
==> Caveats | |
As of go 1.2, a valid GOPATH is required to use the `go get` command: | |
http://golang.org/doc/code.html#GOPATH | |
`go vet` and `go doc` are now part of the go.tools sub repo: | |
http://golang.org/doc/go1.2#go_tools_godoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
$ brew install postgres | |
==> Installing postgresql dependency: ossp-uuid | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/ossp-uuid-1.6.2.mavericks.bottle.1.tar.gz | |
######################################################################## 100.0% | |
==> Pouring ossp-uuid-1.6.2.mavericks.bottle.1.tar.gz | |
==> Caveats | |
This formula is keg-only, so it was not symlinked into /usr/local. | |
OS X provides a uuid.h which conflicts with ossp-uuid's header. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install redis | |
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/redis-2.8.11.mavericks.bottle.tar.gz | |
######################################################################## 100.0% | |
==> Pouring redis-2.8.11.mavericks.bottle.tar.gz | |
==> Caveats | |
To have launchd start redis at login: | |
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents | |
Then to load redis now: | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist | |
Or, if you don't want/need launchctl, you can just run: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install tuntap | |
==> Downloading https://homebrew.bintray.com/bottles/tuntap-20111101.mavericks.bottle.tar.gz | |
######################################################################## 100.0% | |
==> Pouring tuntap-20111101.mavericks.bottle.tar.gz | |
==> Caveats | |
In order for TUN/TAP network devices to work, the tun/tap kernel extensions | |
must be installed by the root user: | |
sudo cp -pR /usr/local/Cellar/tuntap/20111101/Library/Extensions/tap.kext /Library/Extensions/ | |
sudo cp -pR /usr/local/Cellar/tuntap/20111101/Library/Extensions/tun.kext /Library/Extensions/ |
$ brew install elasticsearch (git)-[master]
==> Downloading https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.1.0/elasticsearch-2.1.0.tar.gz
######################################################################## 100.0%
==> Caveats
Data: /usr/local/var/elasticsearch/elasticsearch_xxxxxxxxxx/
Logs: /usr/local/var/log/elasticsearch/elasticsearch_xxxxxxxxxx.log
Plugins: /usr/local/Cellar/elasticsearch/2.1.0_1/libexec/plugins/
Config: /usr/local/etc/elasticsearch/
moved to https://github.com/yano3/kankara/blob/master/elasticsearch/cluster.md
- ノード
- 起動した Elasticsearch のインスタンス
- 普通は1台のサーバに1インスタンス起動するので、 Elasticsearch の起動しているサーバのイメージ
- クラスタ
moved to https://github.com/yano3/kankara/blob/master/elasticsearch/monitoring.md
- Elasticsearch の様子を知るのに便利な様々な API がある。
- これらを参照する Elasticsearch プラグインや各種モニタリングツール (mackerel, munin, etc.) のプラグインが開発されている。
- API 間で重複する内容があったり、似ているようで異なるものがあったりするので使い分けに注意。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
nginx_version: Server::server_version, | |
mruby_version: MRUBY_VERSION, | |
ngx_mruby_version: Server::module_version, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/12/16 01:01:37 [error] 3153#3153: *1 mrb_run failed: return 500 HTTP status code to client: error: /etc/nginx/conf.d/filter.rb:3: string contains null byte (ArgumentError), client: 10.0.2.2, server: _, request: "GET /filter HTTP/1.1", host: "localhost:20080" | |
2016/12/15 11:40:34 [error] 4579#4579: *1 mrb_run failed: return 500 HTTP status code to client: error: /etc/nginx/conf.d/nigari.rb:12: string contains null byte (ArgumentError) while sending to client, client: 10.0.2.2, server: _, request: "GET /nigari?4 HTTP/1.1", upstream: "http://127.0.0.1:80/orig?4", host: "localhost:20080" |