Redis

安装Redis

  • MacOS上安装Redis

    brew install redis
    
  • 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
    
  • Get Redis package information.

    brew info redis
    
  • Test if Redis server is running.

    redis-cli ping
    

你可能感兴趣的:(Redis)