Installing Redis in Ubuntu 16.04

Views: 162   

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> PING
PONG> keys *
(empty list or set)>
On By