Install Redis

This page has the instructions to install Redis on Debian.

Install:

Download the stable version, compile and install it.

wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make -j2
sudo make install

Run:

To start the redis server call from a terminal:

redis-server

The terminal session must be kept alive for the database, you may want to use a screen session and run the redis-server there.

screen -S redis-screen
redis-server
# Detach the session: Control + a + d

References:

Last updated