Installing Redis in Ubuntu 16.04

Views: 56   

Run the following series of commands to install Redis on Ubuntu 16.04

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install redis-server
sudo systemctl start redis-server

You can verify your installation by connecting to redis using redis-cli

$ redis-cli 
127.0.0.1:6379> PING
PONG
127.0.0.1:6379> keys *
(empty list or set)
127.0.0.1:6379>
On By