Redis – Environment

Install Redis on Ubuntu

To install the Redis on Ubuntu, go to terminal and type the following commands:

$sudo apt-get update
$sudo apt-get install redis-server

This will install redis on your machine.
Start Redis

$redis-server

Check if redis is working?

$redis-cli

This will open a redis prompt, as shown below:

redis 127.0.0.1:6379>

In the above prompt 127.0.0.1 is your machine’s IP address and 6379 is port on which redis server is running. Now type the PING command as shown below.

redis 127.0.0.1:6379> ping
PONG

This shows that you have successfully installed redis on your machine.

Install Redis Desktop Manager on Ubuntu

To install redis dessktop manager on ubuntu, just download the package fromhttp://redisdesktop.com/downloadOpen the downloaded package and install it.
Redis desktop manager will give you UI to manage your redis keys and data.