当前位置:网站首页>Redis official visualization tool, with high appearance value and powerful functions!
Redis official visualization tool, with high appearance value and powerful functions!
2022-07-25 03:53:00 【Program ape DD】
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.02) 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.yaml3. 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 Redis1) 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 :
We have created a high-quality technical exchange group , With good people , I will be excellent myself , hurriedly Click Add group , Enjoy growing up together . in addition , If you want to change jobs recently , Years ago, I spent 2 A wave of large factory classics were collected in a week , Those who are ready to change jobs after the festival can Click here to get !
Recommended reading
- Learn the real king of caching , And in Spring Boot The use of !
- PDF manual |1666 page Zabbix6.0 The official Chinese Operation manual PDF Get... Free of charge !
- The most popular IT The company welcomes 30 Open source software
··································
Hello , I'm a procedural ape DD,10 Old driver developed in 、 Alibaba cloud MVP、 Tencent cloud TVP、 I have published books and started a business 、 State-owned enterprises 4 In the Internet 6 year . From ordinary developers to architects 、 Then to the partner . Come all the way , My deepest feeling is that I must keep learning and pay attention to the frontier . As long as you can hold on , Think more 、 Don't complain 、 Do it frequently , It's easy to overtake on a curve ! therefore , Don't ask me what I'm doing now, whether it's in time . If you are optimistic about one thing , It must be persistence to see hope , Instead of sticking to it when you see hope . believe me , Just stick to it , You must be better than now ! If you don't have any direction , You can pay attention to me first , Some cutting-edge information is often shared here , Help you accumulate the capital to overtake on the curve .
边栏推荐
- C language_ Defining structures and using variables
- Moveit2 - 8. Motion planning API
- How to cancel and exit revision mode for word
- CVPR 2020 | social stgcnn: pedestrian trajectory prediction based on graph convolution
- DNS domain name resolution service
- Localization distillation for dense object detection cvpr2022
- Visio use
- Wechat applet access wechat payment process
- Detailed explanation of kubernetes network plug-in - flannel chapter
- Use "display: flex; justify content: Center; align items: Center;" Solve the problem that the streaming grid layout cannot be centered
猜你喜欢

C language_ Defining structures and using variables

Original | record a loophole excavation in Colleges and Universities

How should enterprise users choose aiops or APM?

Li Kou 279 complete square - dynamic programming

Deep learning method of building a model from zero

Detailed explanation of three factory modes

Pytorch deep learning practice lesson 8 importing data

Swagger key configuration items

Yuntu says digital asset chain: your God of digital asset property protection

Execution flow control of shell
随机推荐
Pytorch deep learning practice lesson 8 importing data
Day 10: BGP border gateway protocol
Fiddler grabs packets and displays err_ TUNNEL_ CONNECTION_ FAILED
[template engine] microservice Learning Notes 6: freemaker
Advantages and disadvantages of zero trust security
Leetcode.745. prefix and suffix search____ Double dictionary tree + double pointer
Record once C # extract audio files with ffmempeg
55k is stable, and the recommendation system will always drop God!
[kaggle] how to effectively avoid oom and the long process of alchemy
[leetcode medium] 34. Find the first and last positions of elements in the sorted array - array double pointer
Use "display: flex; justify content: Center; align items: Center;" Solve the problem that the streaming grid layout cannot be centered
Matplotlib tutorial (I) [getting to know Matplotlib first]
Table of contents of force deduction questions
Skywalking distributed link tracking, related graphics, DLJD, cat
01_ Education 2
[golang] golang realizes sending wechat service number template messages
.net6 miniapi (V): Options
ES (8.1) certification topic
226. Flip binary tree DFS method
Database transactions (often asked)