当前位置:网站首页>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 :

边栏推荐
- Hack the box - Introduction to networking module detailed Chinese tutorial
- Earth system model (cesm) practical technology
- Hack the box - Web requests module detailed Chinese tutorial
- nn.Moudle模块-创建神经网络结构需要注意的细节
- 如何从内存解析的角度理解“数组名实质是一个地址”?
- Leetcode linked list problem - 203. remove the linked list elements (learn the linked list by one question and one article)
- Compilation method of flood control evaluation report and flood modeling under the new guidelines
- Usage and common problems of SIP softphone registered with SIP account
- TZC 1283: simple sort Bubble Sort
- Common modules in ansible
猜你喜欢
![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

Embedded development notes, practical knowledge sharing

Code audit CMS

Unity scene jump script

推荐必读:测试人员如何快速熟悉新业务?

C语言-指针进阶

Polymer physics test question bank

Application and value of IVR in VoIP telephone system

这种项目,最好别接!
![Bash shortcut key to improve command line efficiency [Full Version]](/img/ec/f0dd2fbfac6853ae60d7cf52d8f3e1.png)
Bash shortcut key to improve command line efficiency [Full Version]
随机推荐
如何从内存解析的角度理解“数组名实质是一个地址”?
Home VR panoramic display production to improve customer transformation
ALV report flow diagram
Princeton calculus reader 02 Chapter 1 -- composition of functions, odd and even functions, function images
ThreadLocal transfer between parent and child threads in asynchronous
Mongodb common commands
520送什么?DIY一个高颜值RGB时钟,女生看了都想要
TZC 1283: simple sorting - function method
Leetcode linked list problem - 206. reverse linked list (learn linked list by one question and one article)
Unity scene jump script
Yuancosmos provides a digital social platform for fashion design display
517. Super washing machine
C语言详解系列——函数的认识(3)形参,实参,嵌套调用和链式访问
Usage and common problems of SIP softphone registered with SIP account
The first positive number missing in question 41 of C language. Two methods, preprocessing, fast sorting and in situ hashing
C language function
Getaverse, a distant bridge to Web3
35. Search the insertion position
SQL injection
C语言实现发牌功能基本方法