我正在Linux Centos上安装redis,步骤如下:
mkdir /redis/
cd /redis
wget http://redis.googlecode.com/files/redis-2.6.14.tar.gz
extracted it using tar -xzf redis-2.6.14.tar.gz
make && make install PREFIX=/redis/
Changed the port in redis.conf(/redis/redis.conf) to 7000
Changed the port redis_init_script(/redis/utils/redis_init_script) to 7000
Then issued the command /redis/bin/redis-server
现在,当我发出命令时,我看到了这个,
上面写着6379
。
:(
发布于 2014-03-27 20:07:48
您还没有告诉它使用哪个配置文件,所以您将以所有默认设置启动服务器。相反,尝试:
/redis/bin/redis-server /redis/redis.conf
https://stackoverflow.com/questions/22630979
复制相似问题