Redis is a Open source DB which is used for Linux/Unix Platform. It has in-built wide range of feature, which can use for such as replication, High availability etc… For more info you can visit redis.io.
Lets start with installation in Linux/Unix platform.
Redis Stable version is now 3.2.3 Which You can find and download from redis.io site.
First pre-requisite package need to install by Yum
Create Directory with Redis
copy redisgz file to this /redis directory
tar -zxvf …gz file
make hiredis jemalloc linenoise lua
go back to src folder
check all the modules compile successfully by below command
If any error will revoke in 41 section at the end of the test related to disk sync try this command:
taskset -c 1 make test
To start redis server use redis-server command Also A Redis server can use a configuration file* when booted, which can be specified like this
redis-server /path/to/conf/redis.conf like example redis-server /redis/redis-server3.2.3/redis.conf
*NOTE: Edit ‘bind 127.0.0.1’ in /redis/redis-server3.2.3/redis.conf so server will bind to the correct system IP. Set ‘daemonize yes’ for server to run as daemon.
Check server login
redis-cli then exit
Check Server version
Shut redis server down