Master RedisInsight: Install, Configure, and Use the Ultimate Redis GUI
This guide walks you through RedisInsight—a visual Redis GUI that supports clusters, SSL/TLS, and memory analysis—covering Linux installation, environment variable setup, service startup, Kubernetes deployment via YAML, and core usage such as browsing keys, executing commands, and monitoring performance.
RedisInsight Overview
RedisInsight is a cross‑platform GUI for Redis that provides monitoring of memory usage, connection count, hit rate, and uptime, an integrated CLI, full support for Redis modules, and it is the only GUI that supports Redis Cluster.
Linux Installation
Physical installation
# ls
anaconda-ks.cfg redisinsight-linux64-1.11.0
# mkdir /usr/local/redisinsight
# mv redisinsight-linux64-1.11.0 /usr/local/redisinsight/redisinsight-1.11.0
# chmod +x /usr/local/redisinsight/redisinsight-1.11.0Environment variables
# Add to ~/.bash_profile
export REDISINSIGHT_HOST=192.168.1.1
export REDISINSIGHT_HOST_DIR=/usr/local/redisinsight/.redisinsight
# Apply changes
source ~/.bash_profileOptional variables (default values shown): REDISINSIGHT_PORT – listening port, default
8001 REDISINSIGHT_HOST– bind address, default
0.0.0.0 LOG_DIR– log directory, default
$REDISINSIGHT_HOST_DIR REDISINSIGHT_HOST_DIR– data directory, default
~/.redisinsightStart the service
# Run in background
nohup /usr/local/redisinsight/redisinsight-1.11.0 &
# Verify the process
ps aux | grep redisinsightKubernetes Deployment
Create a redisinsight.yaml manifest with the following content:
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
ports:
- containerPort: 8001
protocol: TCP
volumeMounts:
- name: db
mountPath: /db
volumes:
- name: db
emptyDir: {}Apply the manifest:
# kubectl apply -f redisinsight.yamlBasic Usage
If a Redis server is not already available, install Redis (example version 6.2.6) as follows:
# 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
# cp redis.conf /usr/local/redis/
# sed -i 's/^bind 127.0.0.1/bind 192.168.1.1/' /usr/local/redis/redis.conf
# sed -i 's/protected-mode yes/protected-mode no/' /usr/local/redis/redis.conf
# sed -i 's/daemonize no/daemonize yes/' /usr/local/redis/redis.conf
# sed -i 's/requirepass .*/requirepass 123123/' /usr/local/redis/redis.conf
# /usr/local/redis/bin/redis-server /usr/local/redis/redis.confAccess the RedisInsight UI at http://<em>HOST</em>:8001 (replace HOST with the value of REDISINSIGHT_HOST). The interface provides:
Dashboard showing memory usage, connections, hit rate, and uptime.
Key browser for searching, viewing, and editing keys.
Integrated CLI for executing Redis commands.
Memory‑analysis view that visualises allocation and fragmentation.
Typical workflow:
Open the web UI.
Configure a connection by entering the Redis host, port, and password.
Browse key spaces, run queries, and monitor performance metrics.
Use the memory analysis panel to locate large keys or inefficient data structures.
Su San Talks Tech
Su San, former staff at several leading tech companies, is a top creator on Juejin and a premium creator on CSDN, and runs the free coding practice site www.susan.net.cn.
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.
