在OS X上安装Redis
我是通过自研软件安装的。
安装
$ brew search redis
hiredis redis redis1310 redis24
homebrew/nginx/redis2-nginx-module homebrew/php/php54-redis homebrew/php/php56-redis
homebrew/php/php53-redis homebrew/php/php55-redis
$ brew install redis
$ brew install hiredis
启动
$ redis-server
[80855] 31 Oct 00:18:38.270 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
[80855] 31 Oct 00:18:38.272 * Increased maximum number of open files to 10032 (it was originally set to 2560).
_._
_.-``__ ''-._
_.-`` `. `_. ''-._ Redis 2.8.17 (00000000/0) 64 bit
.-`` .-```. ```\/ _.,_ ''-._
( ' , .-` | `, ) Running in stand alone mode
|`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
| `-._ `._ / _.-' | PID: 80855
`-._ `-._ `-./ _.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' | http://redis.io
`-._ `-._`-.__.-'_.-' _.-'
|`-._`-._ `-.__.-' _.-'_.-'|
| `-._`-._ _.-'_.-' |
`-._ `-._`-.__.-'_.-' _.-'
`-._ `-.__.-' _.-'
`-._ _.-'
`-.__.-'
[80855] 31 Oct 00:18:38.278 # Server started, Redis version 2.8.17
[80855] 31 Oct 00:18:38.279 * The server is now ready to accept connections on port 6379