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
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!