Post

Install and configure Redis on Debian based system

Redis is a data structure server. Redis is the most popular key/value database. Redis development has been sponsored by Redis Labs. Redis is a cross-platform NoSQL database written in ANSI C and licensed under BSD.

Redis is cross-platform but it does not officially support Windows platform. Redis can be installed on any linux based system from the source code available at the official website.

The installation procedure provided on the official website does not actually install the software. The given procedure is fine enough for the beginner’s to practice but not for advanced users. The procedure given in the official website is less but is not user friendly with less experienced users.

To install latest stable version of redis on debian based systems such as UBUNTU (any version), Linux MINT etc, download the package from here and go through the following steps:

NOTE: WHEN PROMPTED FOR PASSWORD ENTER YOUR USER PASSWORD

  1. Un-compress the downloaded “redis_install” file on the desktop.
  2. Open a terminal and navigate to the redis_install file using following command
    1
    
    cd Desktop/redis_install_debian
    
  3. Run install.sh file using the following command
    1
    
    sh install.sh
    
  4. Once the installation is successfully completed, close all open terminals.
  5. Open a terminal and type following command to start the server
    1
    
    redis-server
    
  6. Open another terminal and type following command to open a client session
    1
    
    redis-cli
    
This post is licensed under CC BY 4.0 by the author.