Databases 7 min read

Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI

This guide walks you through installing RedisInsight on Linux and Kubernetes, configuring environment variables, launching the service, and using its GUI to monitor Redis metrics, edit data, and analyze memory, providing step‑by‑step commands and screenshots for each stage.

Programmer DD
Programmer DD
Programmer DD
Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI

RedisInsight is an intuitive GUI tool for managing Redis, allowing monitoring of memory usage, connection count, hit rate, uptime, and providing a built‑in CLI with support for Redis modules.

Official documentation: https://docs.redis.com/latest/ri/

Key features include the only GUI supporting Redis Cluster, browser‑based key search, data view and edit, SSL/TLS connections, and in‑app memory analysis.

RedisInsight Installation and Usage

1. Physical Installation

1) Download the RedisInsight package:

[root@Redis ~]# ls
anaconda-ks.cfg  redisinsight-linux64-1.11.0
[root@Redis ~]# mkdir /usr/local/redisinsight
[root@Redis ~]# mv redisinsight-linux64-1.11.0 /usr/local/redisinsight/redisinsight-1.11.0
[root@Redis ~]# chmod +x /usr/local/redisinsight/redisinsight-1.11.0

2) Configure environment variables:

[root@Redis ~]# echo "export REDISINSIGHT_HOST=192.168.1.1" >> ~/.bash_profile
[root@Redis ~]# echo "export REDISINSIGHT_HOST_DIR=/usr/local/redisinsight/.redisinsight" >> ~/.bash_profile
[root@Redis ~]# source ~/.bash_profile

Configuration notes:

REDISINSIGHT_PORT – listening port (default: 8001)

REDISINSIGHT_HOST – IP address (default: 0.0.0.0)

LOG_DIR – log directory (default: REDISINSIGHT_HOST_DIR)

REDISINSIGHT_HOST_DIR – data directory (default: ~/.redisinsight)

3) Start the RedisInsight service:

[root@Redis ~]# nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 &
[root@Redis ~]# ps aux | grep redis   # verify the process

2. Kubernetes Installation

1) Create a RedisInsight YAML file (redisinsight.yaml):

apiVersion: v1
kind: Service
metadata:
  name: redisinsight-service
spec:
  type: NodePort
  ports:
  - port: 80
    targetPort: 8001
    nodePort: 31888
  selector:
    app: redisinsight
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: redisinsight
  labels:
    app: redisinsight
spec:
  replicas: 1
  selector:
    matchLabels:
      app: redisinsight
  template:
    metadata:
      labels:
        app: redisinsight
    spec:
      containers:
      - name: redisinsight
        image: redislabs/redisinsight:1.7.0
        imagePullPolicy: IfNotPresent
        volumeMounts:
        - name: db
          mountPath: /db
        ports:
        - containerPort: 8001
          protocol: TCP
      volumes:
      - name: db
        emptyDir: {}

2) Deploy RedisInsight:

[root@Redis ~]# kubectl apply -f redisinsight.yaml

3. Basic Usage of RedisInsight

Install Redis (skip if already installed):

[root@Redis ~]# wget https://download.redis.io/releases/redis-6.2.6.tar.gz
[root@Redis ~]# tar zxf redis-6.2.6.tar.gz
[root@Redis ~]# cd redis-6.2.6
[root@Redis redis-6.2.6]# make PREFIX=/usr/local/redis install
[root@Redis redis-6.2.6]# sed -i '/^bind 127.0.0.1/s/127.0.0.1/192.168.1.1/g' redis.conf
[root@Redis redis-6.2.6]# sed -i '/protected-mode/s/yes/no/g' redis.conf
[root@Redis redis-6.2.6]# sed -i '/daemonize/s/no/yes/g' redis.conf
[root@Redis redis-6.2.6]# sed -i '/requirepass/s/foobared/123123/g' redis.conf
[root@Redis redis-6.2.6]# sed -i '/requirepass 123123/s/^#//g' redis.conf
[root@Redis redis-6.2.6]# cp redis.conf /usr/local/redis/
[root@Redis redis-6.2.6]# /usr/local/redis/bin/redis-server /usr/local/redis/redis.conf   # start Redis

1) Access the RedisInsight UI via the configured IP and port.

2) The UI displays various Redis metrics such as memory usage, key statistics, and performance charts.

3) You can perform data operations directly from the interface, including editing keys and executing commands.

4) The built‑in memory analyzer helps you understand memory allocation and optimize Redis usage.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

GUIKubernetesredisInstallationRedisInsightDatabase Management
Programmer DD
Written by

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.