Installing Redis

To install Redis in your container, you have to run the following commands in the IDE terminal.

On Ubuntu 16.04, the latest version of Redis is included in the APT package repository by default. Update the package index on your server and install the default redis package.

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

You can check if your Redis service is running with the following command:

sudo service redis status

If Redis isn't running, you can start it using the command:

sudo systemctl start redis

See the official documentation for more information on interacting with your database using the command line interface.