表題の通り。HomebrewのFormulaファイルにRedisの”3.0.0“が来たのでインストールする。
■ 環境
- Redis 3.0.0
- Mac OSX (10.9.5)
- Homebrew
■ インストール
ローカルのFormulaファイルを更新して確認する。
$ brew update
$ brew info redis
redis: stable 3.0.0 (bottled), HEAD
http://redis.io/
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/redis.rb
==> 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:
redis-server /usr/local/etc/redis.conf
“3.0.0“がインストール可能なので実行する。
$ brew install redis
==> Downloading https://homebrew.bintray.com/bottles/redis-3.0.0.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring redis-3.0.0.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:
redis-server /usr/local/etc/redis.conf
==> Summary
/usr/local/Cellar/redis/3.0.0: 9 files, 892K
■ 動作確認
先日のエントリと同様なので省略。
これでアプリケーションの動作確認がローカルのMacだけでも容易に可能だ。
以上。