1、安装redis

$ brew install redis

Mac brew安装redis

Error:Failed to download resource "reds"  // 下载reds失败
不过不需要担心,brew会已经从其它地方下载并正确安装了
 
配置文件路径: /usr/local/etc/redis.conf
 
 
2、启动redis(可选)
$ redis-server

 

3、添加至开机启动项(可选)

$ ln -f /usr/local/Cellar/redis/2.8.13/homebrew.mxcl.redis.plist ~/Library/LaunchAgents/
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist



转载于:https://www.cnblogs.com/cloudshadow/p/mac_brew_install_redis.html




相关文章:

  • 2019-06-12
  • 2021-08-21
  • 2021-05-31
  • 2021-08-09
  • 2021-10-17
  • 2021-11-03
  • 2021-08-17
  • 2021-08-30
猜你喜欢
  • 2021-12-10
  • 2021-12-09
  • 2021-08-21
  • 2021-12-03
  • 2021-09-08
  • 2019-11-21
  • 2021-11-14
  • 2021-12-10
相关资源
相似解决方案