redis

Posted CS408

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了redis相关的知识,希望对你有一定的参考价值。

D:\Python27\python ez_setup.py

tar -zxvf redis-stable.tar.gz

cd redis-stable
cp redis.conf /etc/redis/
pidfile /var/redis/run/redis.pid
dir /var/redis/data
logfile /var/redis/log/redis.log


/usr/local/bin


cd /usr/local/bin/
redis-server /etc/redis/redis.conf
/usr/local/bin/redis-server /etc/redis/redis.conf
pkill redis-server
/usr/local/bin/redis-cli shutdown
ps -ef | grep redis

cat /var/redis/log/redis.log

/usr/local/bin/redis-cli


cd /home/cs408/redis-stable/utils/
cp /home/cs408/redis-stable/utils/redis_init_script /etc/init.d/redis

/etc/init.d/service redis start
service redis stop


vi /etc/init.d/redis

以上是关于redis的主要内容,如果未能解决你的问题,请参考以下文章

RedisRedis 安装启动使用流程

RedisRedis 安装启动使用流程

redisredis知识点总结

redisredis知识点总结

RedisRedis高级

RedisRedis简述