|

安装Redis

1. 下载redis-2.6.13.tar.gz并解压
     tar zxvf redis-2.6.13.tar.gz

2. 安装目录 /home/tzdb/redis
   cd  /home/tzdb/soft/redis-2.6.13/src

    sudo make PREFIX=/home/tzdb/redis
    sudo make install PREFIX=/home/tzdb/redis
    此处会出出错误(tzdb is not in the sudoers file.  This incident will be reported)
    解决方法:http://hi.baidu.com/liuyix/item/16f3b4cd6e00c2010ad93adf
    又会报这个错误(/bin/sh: cc: command not found
        make[1]: *** [adlist.o] Error 127)



    

固定链接 | 评论: 0 | 引用: 0 | 查看次数: 56