zoukankan      html  css  js  c++  java
  • Mac 系统安装redis服务

    1.首先去http://www.redis.io/下载最新的redis文件,现在最新的是redis-2.8.19

    2.进行解压缩

          tar -zxvf redis-2.8.19.tar.gz

    3.移动重新命名为redis

         mv redis-2.8.19 ../redis

    4.进入src目录下面编译redis

        sudo make

        编译成功后,会有一个提示 It's a good idea to run 'make test'

    5.编译test

       sudo make test

      编译test出现了一个错误,make[1]: *** [test] Error 1,看了下错误,好像是编译一个文件出了错误,别担心,重新编译就OK了  All tests passed without errors

    6.安装

       sudo make install 

    7.大功告成

    The server is now ready to accept connections on port 6379

     
  • 相关阅读:
    red and black(BFS)
    G
    D
    new word
    CSS Layout
    G
    CSS
    组合数学-母函数
    组合数学-卡特兰数
    cf1144G 将串分解成单调递增和递减子串(贪心)
  • 原文地址:https://www.cnblogs.com/damaoge/p/4240989.html
Copyright © 2011-2022 走看看