-
Create and change directory
mkdir redis && cd redis
-
Download the source and extract
curl -O http://download.redis.io/redis-stable.tar.gz
-
Run the test and install
make make test sudo make install
-
Start the redis-server
redis-server
redis-cli ping
If the above command returns pong then redis is installed correctly and working good