Don't forget to start with :
brew doctor
brew update
brew info redis
and you can start with :
brew install redis
and will be replied with :
==> Downloading http://redis.googlecode.com/files/redis-2.6.13.tar.gz
######################################################################## 100.0%
==> make -C /private/tmp/redis-P7Wt/redis-2.6.13/src CC=cc
==> 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.6.13: 9 files, 752K, built in 5 seconds
what's left to do is run these lines below :
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
to unload from launch control
:
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
to open redis client :
redis-cli
No comments:
Post a Comment