Master RedisInsight: Install, Configure, and Use the Redis GUI Tool
This guide introduces RedisInsight, a powerful Redis GUI, and provides step‑by‑step instructions for physical and Kubernetes installations, environment configuration, service startup, and basic usage including Redis setup and UI operations, all illustrated with code snippets and screenshots.
RedisInsight Overview
RedisInsight is a visual GUI management tool for Redis that monitors memory, connections, hit rate, and uptime, and provides an integrated CLI with support for Redis modules.
Only GUI tool that fully supports Redis Cluster.
Browser‑based key search, view, and edit.
SSL/TLS connections and built‑in memory analysis.
Installation and Usage
1. Physical installation
Download the RedisInsight package, move it to /usr/local/redisinsight, make it executable, set environment variables, and start the service.
[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:
# echo "export REDISINSIGHT_HOST=192.168.1.1" >> ~/.bash_profile
# echo "export REDISINSIGHT_HOST_DIR=/usr/local/redisinsight/.redisinsight" >> ~/.bash_profile
# source ~/.bash_profileStart the RedisInsight service:
# nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 &
# ps aux | grep redis REDISINSIGHT_PORT(default 8001) REDISINSIGHT_HOST (default 0.0.0.0) LOG_DIR (default REDISINSIGHT_HOST_DIR) REDISINSIGHT_HOST_DIR (default ~/.redisinsight)
2. Kubernetes deployment
Create a redisinsight.yaml that defines a Service (NodePort 31888) and a Deployment using the image redislabs/redisinsight:1.7.0, then apply it with kubectl.
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
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.yaml3. Basic usage
If Redis is not yet installed, install it, adjust redis.conf (bind IP, disable protected‑mode, enable daemonize, set password), and start the server.
# 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 web UI using the configured IP and port. The interface displays cluster information, memory analysis, and allows interactive key operations such as viewing, editing, and deleting data.
Architect's Guide
Dedicated to sharing programmer-architect skills—Java backend, system, microservice, and distributed architectures—to help you become a senior architect.
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.
