mac安装redis

mac安装redis比较简单,直接使用命令brew install redis即可。安装过程所示:

$ brew install redis
==> Downloading https://homebrew.bintray.com/bottles/redis-5.0.5.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/eb/eb5538dadb10570c5a8aa9e8aafa5d21b7747e7597c92954916b9b6ca55ae407?__gda__=
==> Downloading http://download.redis.io/releases/redis-5.0.5.tar.gz
######################################################################## 100.0%
==> make install PREFIX=/usr/local/Cellar/redis/5.0.5 CC=clang
==> Caveats
To have launchd start redis now and restart at login:
  brew services start redis
Or, if you don't want/need a background service you can just run:
  redis-server /usr/local/etc/redis.conf
==> Summary
  /usr/local/Cellar/redis/5.0.5: 11 files, 3MB, built in 2 minutes 17 seconds

 

你可能感兴趣的:(mac,redis,redis,mac)