Mac Redis安装

安装

1 wget http://download.redis.io/releases/redis-4.0.10.tar.gz

   tar xzf redis-4.0.10.tar.gz
   cd redis-4.0.10
   make
  mv redis-4.0.10 /usr/local/

2. 开机启动Redis

       sudo nano /Library/LaunchDaemons/io.redis.redis-server.plist
  
         
         
         
         
           Label
          io.redis.redis-server
           ProgramArguments
           
                 /usr/local/bin/redis-server
           
           RunAtLoad
           
         
         

你可能感兴趣的:(Mac Redis安装)