Nvidia Unveils Futuristic Gaming Experience at Computex 2023
News

Nvidia Unveils Futuristic Gaming Experience at Computex 2023, Blending Gaming and AI

by Isabel
May 29, 2023
0

At Computex 2023, Nvidia displays a futuristic gaming experience that...

Read more
Adobe Introduces Powerful Generative AI Tools in Photoshop

Adobe Introduces Powerful Generative AI Tools in Photoshop Beta

May 29, 2023
Adobe Photoshop's Generative Fill Feature

Exploring the Power of Adobe Photoshop’s Generative Fill Feature

May 27, 2023
NVIDIA and Microsoft Partner to Accelerate AI

NVIDIA and Microsoft Partner to Accelerate AI

May 25, 2023
google photos security and privacy

Exploring the Top 5 Privacy and Security Risks of using Google Photos

May 24, 2023
ChatGPT Cheat sheet for Frontend Designer

Ultimate ChatGPT cheatsheet for frontend Designers

May 10, 2023
How Bard Is Different from ChatGPT

How Bard Is Different from ChatGPT

May 18, 2023
Bark text to speech

Bark: Text to Speech New AI tool

April 25, 2023
AutoGPT in Linux

How to download and install Auto GPT in Linux

May 4, 2023
ChatGPT plus Vs chatGPT

ChatGPT Plus VS ChatGPT: A Comprehensive Comparison of Features and Benefits

May 12, 2023
How to Use the ChatGPT Browsing Feature

How to Use the ChatGPT Browsing Feature

May 17, 2023
Cloudbooklet
  • News
  • Artificial Intelligence
  • Linux
  • Google Cloud
  • AWS
No Result
View All Result
Cloudbooklet
  • News
  • Artificial Intelligence
  • Linux
  • Google Cloud
  • AWS
No Result
View All Result
Cloudbooklet
No Result
View All Result
Home Google Cloud

How to Install and Configure Redis on Debian

by Cloudbooklet
September 14, 2021
in Google Cloud, Linux
Reading Time: 3 mins read
Install Redis on Debian
Share on FacebookShare on TwitterShare on WhatsAppShare on Telegram

Redis is a in-memory key-value store known for performance and flexibility. In this guide you are going to learn how to install and configure Redis on Debian.

This setup is tested on Google Cloud with an Debian OS, so this setup will work on any cloud services like AWS, Azure or any VPS or dedicated servers.

You might also like

How to Setup SSH Keys on Ubuntu

How to Setup SSH Keys on Ubuntu 20.04

May 31, 2023
DragGAN AI editing Tool Install and Use DragGAN Photo Editor

DragGAN AI editing Tool Install and Use DragGAN Photo Editor

May 27, 2023

Prerequisites

  • SSH access to the server.

Step 1: Install Redis

Start by updating the packages to latest version.

sudo apt update

Install Redis using the following command.

sudo apt install redis-server

Once the installation is completed you can check the version of Redis using the following command.

redis-server -v
Output
Redis server v=5.0.7 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=636cde3b5c7a3923

Step 2: Configure Redis as a Service

To get more control over Redis operations it is necessary to configure an init system to manage it as a service.

By default the supervised directive in Redis configuration is set to no which is the one that declares the init system.

Change the value to systemd to use the system init.

Open the configuration file located in /etc/redis/redis.conf.

sudo nano /etc/redis/redis.conf

Make changes to the supervised value to systemd so that it looks like below.

. . .
supervised systemd
. . .

Hit CRTL + X followed by Y and Enter to save and exit the file.

Restart Redis for the changes to take effect.

sudo systemctl restart redis.service

Step 3: Check Redis Status

Check Redis status using the systemctl command after the service is restarted.

sudo systemctl status redis

You will receive an output similar to the one below which indicates Redis is working fine.

Output
● redis-server.service - Advanced key-value store
     Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabl>
     Active: active (running) since Tue 2021-09-14 13:24:43 UTC; 1h 32min ago
       Docs: http://redis.io/documentation,
             man:redis-server(1)
   Main PID: 2354 (redis-server)
      Tasks: 4 (limit: 19198)
     Memory: 1.8M
     CGroup: /system.slice/redis-server.service
             └─2354 /usr/bin/redis-server 127.0.0.1:6379

Now Redis will get started automatically every time the system boots up.

If you wish to start up Redis manually for some use cases you can disable the service using the following command.

sudo systemctl disable redis

That’s it. Now you have your Redis server running on your Debian.

Conclusion

Now you have learned how to install and configure Redis server on Debian.

Thanks for your time. If you face any problem or any feedback, please leave a comment below.

Continue Reading
Tags: Debian
ShareTweetSendShare
Cloudbooklet

Cloudbooklet

Help us grow and support our blog! Your contribution can make a real difference in providing valuable content to our readers. Join us in our journey by supporting our blog today!
Buy me a Coffee

Related Posts

How to Use ChatGPT in Linux Terminal

How to Use ChatGPT in Linux Terminal

May 19, 2023
Install WordPress with Docker Compose, Nginx, Apache with SSL

WordPress Deployment Made Easy: Docker Compose, Nginx, Apache, SSL Setup Guide

May 20, 2023
How to Install WordPress on Docker

How to Install WordPress on Docker for Windows, macOS, and Linux

May 20, 2023
How to install python on Ubuntu

How to Install Python on Ubuntu 22.04?

May 31, 2023

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

Cloudbooklet

Welcome to our technology blog, where we explore the latest advancements in the field of artificial intelligence (AI) and how they are revolutionizing cloud computing. In this blog, we dive into the powerful capabilities of cloud platforms like Google Cloud Platform (GCP), Amazon Web Services (AWS), and Microsoft Azure, and how they are accelerating the adoption and deployment of AI solutions across various industries. Join us on this exciting journey as we explore the endless possibilities of AI and cloud computing.

  • About
  • Contact
  • Disclaimer
  • Privacy Policy

Cloudbooklet © 2023 All rights reserved.

No Result
View All Result
  • News
  • Artificial Intelligence
  • Linux
  • Google Cloud
  • AWS

Cloudbooklet © 2023 All rights reserved.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.