- Published on
MacにRedisをインストールする方法
- Authors
- ジャバ・ザ・ハットリ 
 
Mac に Redis をインストールする方法
$ brew install redis
このコマンド1発でインストールは完了。
結果
==> Downloading https://homebrew.bintray.com/bottles/redis-2.8.19.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring redis-2.8.19.yosemite.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/2.8.19: 10 files, 1.4M
起動する
$ redis-server /usr/local/etc/redis.conf
結果
[30502] 01 Oct 14:34:01.669 * Increased maximum number of open files to 10032 (it was originally set to 2560).
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 2.8.19 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     Running in stand alone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 30502
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           http://redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'
              `-.__.-'
[30502] 01 Oct 14:34:01.670 # Server started, Redis version 2.8.19
[30502] 01 Oct 14:34:01.670 * The server is now ready to accept connections on port 6379