type below:
brew update
brew install redis
To have launchd start redis Now and restart at login:
brew services start redis
to stop it, just run:
brew services stop redis
Or, if you don't want/need a background service you can just run:
redis-server /usr/local/etc/redis.conf
Test if Redis server is running.
redis-cli ping
If it replies “PONG”, then it’s good to go!
Location of Redis configuration file.
/usr/local/etc/redis.conf
Uninstall Redis and its files.
brew uninstall redis
rm ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。