当前位置:网站首页>Redis official visualization tool, with high appearance value and powerful functions!
Redis official visualization tool, with high appearance value and powerful functions!
2022-07-26 05:28:00 【Programmer Xiaohui】

source :https://blog.csdn.net/weixin_46902396/article/details/120807629/
RedisInsight Is an intuitive and efficient Redis GUI Management tools , It can be to Redis Of memory 、 The number of connections 、 The hit rate and uptime are monitored , And can be used on the interface CLI And connected Redis Interact (RedisInsight Built in right Redis Module support ).
Official Portal :https://docs.redis.com/latest/ri/
RedisInsight Features provided :
Unique support Redis Cluster Of GUI Tools ; Can be based on Browser Interface to search 、 View and edit data ; Support based on SSL/TLS The connection of , At the same time, you can also perform memory analysis on the interface ;
RedisInsight Installation and use
1. Physical installation
1) download RedisInsight software package :https://redis.com/redis-enterprise/redis-insight/#insight-form
[[email protected] ~]# ls
anaconda-ks.cfg redisinsight-linux64-1.11.0
[[email protected] ~]# mkdir /usr/local/redisinsight
[[email protected] ~]# mv redisinsight-linux64-1.11.0 /usr/local/redisinsight/redisinsight-1.11.0
[[email protected] ~]# chmod +x /usr/local/redisinsight/redisinsight-1.11.0
2) To configure RedisInsight Environment variables of
[[email protected] ~]# echo "export REDISINSIGHT_HOST=192.168.1.1" >> ~/.bash_profile
[[email protected] ~]# echo "export REDISINSIGHT_HOST_DIR=/usr/local/redisinsight/.redisinsight" >> ~/.bash_profile
[[email protected] ~]# source ~/.bash_profileannotation :
REDISINSIGHT_PORT: To configure RedisInsight Listening port of (default:8001)
REDISINSIGHT_HOST: To configure RedisInsight Of IP Address (default:0.0.0.0)
LOG_DIR: To configure RedisInsight Log storage path (default:REDISINSIGHT_HOST_DIR)
REDISINSIGHT_HOST_DIR: To configure RedisInsight Data storage path of (default:~/.redisinsight)
3) start-up RedisInsight service
[[email protected] ~]# nohup /usr/local/redisinsight/redisinsight-linux64-1.4.0 & // Background operation
[[email protected] ~]# ps aux | grep redis // Check to see if the process exists 
2. Kubernetes install
1) establish RedisInsight Of yaml file :
[[email protected] ~]# vim 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) start-up RedisInsight
[[email protected] ~]# kubectl apply -f redisinsight.yaml
3. RedisInsight Basic use
install Redis( Installed to skip directly )
[[email protected] ~]# wget https://download.redis.io/releases/redis-6.2.6.tar.gz
[[email protected] ~]# tar zxf redis-6.2.6.tar.gz
[[email protected] ~]# cd redis-6.2.6
[[email protected] redis-6.2.6]# make PREFIX=/usr/local/redis install
[[email protected] redis-6.2.6]# sed -i '/^bind 127.0.0.1/s/127.0.0.1/192.168.1.1/g' redis.conf # Modify monitor IP
[[email protected] redis-6.2.6]# sed -i '/protected-mode/s/yes/no/g' redis.conf # Turn off protection mode
[[email protected] redis-6.2.6]# sed -i '/daemonize/s/no/yes/g' redis.conf # Turn on background operation
[[email protected] redis-6.2.6]# sed -i '/requirepass/s/foobared/123123/g' redis.conf # Configure a password
[[email protected] redis-6.2.6]# sed -i '/requirepass 123123/s/^#//g' redis.conf # Put the password before # Delete
[[email protected] redis-6.2.6]# cp redis.conf /usr/local/redis/
[[email protected] redis-6.2.6]# /usr/local/redis/bin/redis-server /usr/local/redis/redis.conf # start-up Redis
1) configured IP And port , To visit RedisInsight Management interface of :




2) You can see it here Redis All kinds of information :

3) meanwhile RedisInsight You can also operate on the interface :

4) You can also check on the interface Redis Analyze the memory used :

边栏推荐
猜你喜欢

Thread三种实现方式 和 Handler的用法

MongoDB 常用命令

DOM event flow event bubble event capture event delegate

ALV report flow diagram

517. Super washing machine

DOM操作--操作节点
![Meta analysis [whole process, uncertainty analysis] method based on R language and meta machine learning](/img/87/9f8353c5c9c700eaa63f66697aa44a.png)
Meta analysis [whole process, uncertainty analysis] method based on R language and meta machine learning

Use playbook in ansible

Day011 一维数组

Week 6 Learning Representation: Word Embedding (symbolic →numeric)
随机推荐
攻防世界-FlatScience
高分子物理知识点
MongonDB API使用
Dynamic memory management and flexible array
No EGL Display 报错解决
C语言详解系列——函数的认识(3)形参,实参,嵌套调用和链式访问
YOLOV3预备工作
Week 6 Learning Representation: Word Embedding (symbolic →numeric)
嵌入式开发小记,实用小知识分享
Shell process control (emphasis), if judgment, case statement, let usage, for ((initial value; loop control condition; variable change)) and for variable in value 1 value 2 value 3..., while loop
Recommended reading: how can testers get familiar with new businesses quickly?
嵌入式通用学习路线整理
Mysql优化
OD-Paper【2】:Fast R-CNN
【个人总结】2022.7.24周结
Getaverse,走向Web3的远方桥梁
FTP实验及概述
STL common template library
MySQL optimization
Getting started with ALV