1. Redis installation tutorial under Linux(1) Installation
# Tar xf redis-2.6.14.tar.gz#cd redis-2.6.14#make# Make install
(2) configuration
Modifying the redis.conf configuration file # CP redis.conf/etc/ # vi/etc/redis.conf # run in daemon mode daemonize no change to daemonize Yes # modify dir./For absolute path,./Redis # to /usr/local/# change appendonly to Yes# Specify whether to log records after each update operation,appendonly No to appendonly Yes
(3) Start
# /usr/local/bin/redis-server/etc/redis.conf To see if Redis is already started # ps-ef | grep redis # NETSTAT-TNLP |grep redis1.4 Add Redis to self-launch #echo "/usr/local/bin/redis-server/etc/ Redis.conf ">>/etc/rc.local
2. Windows under Redis installation tutorial
(1) Installation
Unzip Redis-2.0.0.zip
(2) configuration
Download a redis.conf on the web, unzip to the sibling directory
(3) Start
Redis-server.exe redis.conf
(4) The Windows version of Redis is unofficial and can only be used for development debugging, it is recommended to install Redis on Linux system
Redis Installation Tutorials