Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI
This guide introduces RedisInsight, outlines its key features, provides step‑by‑step installation on a physical server and via Kubernetes, explains environment configuration and startup, and demonstrates basic usage for monitoring and managing Redis instances through its graphical interface.
1. RedisInsight Overview
RedisInsight is an intuitive, efficient GUI management tool for Redis that monitors memory, connections, hit rate, uptime, and provides a built‑in CLI with support for Redis modules.
Official site: https://docs.redis.com/latest/ri/
2. Key Features
Only GUI tool that fully supports Redis Cluster.
Browser‑based key search, view and edit data.
SSL/TLS connections and in‑interface memory analysis.
3. Installation and Configuration (Physical Server)
Download the RedisInsight package and place it under /usr/local/redisinsight:
[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.0Configure environment variables:
# export REDISINSIGHT_HOST=192.168.1.1 >> ~/.bash_profile
# export REDISINSIGHT_HOST_DIR=/usr/local/redisinsight/.redisinsight >> ~/.bash_profile
# source ~/.bash_profileImportant variables: REDISINSIGHT_PORT (default 8001) REDISINSIGHT_HOST (default 0.0.0.0) LOG_DIR (default REDISINSIGHT_HOST_DIR) REDISINSIGHT_HOST_DIR (default ~/.redisinsight)
Start the service:
# nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 & # run in background
# ps aux | grep redis # verify process4. Kubernetes Deployment
Create a redisinsight.yaml file:
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: {}Deploy with:
# kubectl apply -f redisinsight.yaml5. Basic Usage
Install Redis if not already present:
# wget https://download.redis.io/releases/redis-6.2.6.tar.gz
# tar zxf redis-6.2.6.tar.gz
# cd redis-6.2.6
# make PREFIX=/usr/local/redis install
# sed -i '/^bind 127.0.0.1/s/127.0.0.1/192.168.1.1/g' redis.conf
# sed -i '/protected-mode/s/yes/no/g' redis.conf
# sed -i '/daemonize/s/no/yes/g' redis.conf
# sed -i '/requirepass/s/foobared/123123/g' redis.conf
# sed -i '/requirepass 123123/s/^#//g' redis.conf
# cp redis.conf /usr/local/redis/
# /usr/local/redis/bin/redis-server /usr/local/redis/redis.confAccess the RedisInsight UI via the configured IP and port. The interface displays various Redis metrics, allows interactive commands, and provides memory analysis tools.
The UI shows real‑time Redis information, supports data editing, and includes a memory analysis view.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Java Backend Technology
Focus on Java-related technologies: SSM, Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading. Occasionally cover DevOps tools like Jenkins, Nexus, Docker, and ELK. Also share technical insights from time to time, committed to Java full-stack development!
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
