Macでbrewからredisをインストールしてポートを変更して起動する
brewでredisをインストールする
$ brew install redis
ポート番号変更する場合は下記の項目を変更
$ vim /usr/local/etc/redis.conf port 6379
一時的に起動するときは
$ redis-server /usr/local/etc/redis.conf
ログイン時にいつも起動したい場合は
$ ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents $ cd ~/Library/LaunchAgents $ launchctl unload homebrew.mxcl.redis.plist $ launchctl load homebrew.mxcl.redis.plist