Installation of Redis server in Debian 11

This guide describes how to install Redis server in Debian 11
We made in a few minutes using the console.

We log into the console and perform the installation:

We can check the service status by issuing an order:

By default, Redis listens on port 6379. You can verify it using the following command:

To check the redis listening, we can execute the command:

We will see a similar log:

We edit the redis configuration file:

and add a sign # before. The whole should look like:

Thanks to this, our redis server will only listen locally.

We also set the amount of RAM in this file:

We reboot:

We can get to redis from the console by issuing a command:

Now for an example of operation.

issue the command:

We get the answer

So everything works perfectly fine.

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.