Phpredisadmin and phpMyAdmin are similar to the web-friendly interface to data manipulation, although this article is commonplace, but it takes time to edit it.
Phpredisadmin's git address: https://github.com/ErikDubbelboer/phpRedisAdmin
[Root@yum-down ~]# yum install httpd php php-redis git php-mbstring
[Root@yum-down ~]# cd/var/www/html/
[Root@yum-down html]# git clone https://github.com/erikdubbelboer/phpRedisAdmin.git
Initialized empty Git repository in/var/www/html/phpredisadmin/.git/
Remote:counting objects:567, done.
Remote:total 567 (Delta 0), reused 0 (Delta 0), pack-reused 567
Receiving objects:100% (567/567), 166.60 KiB | 121 kib/s, done.
Resolving deltas:100% (337/337), done.
[Root@yum-down html]# CD phpredisadmin/
[Root@yum-down phpredisadmin]# git clone https://github.com/nrk/predis.git Vendor
Initialized empty Git repository in/var/www/html/phpredisadmin/vendor/.git/
Remote:counting objects:19472, done.
Remote:total 19472 (Delta 0), reused 0 (Delta 0), pack-reused 19472
Receiving objects:100% (19472/19472), 4.99 MiB | 139 kib/s, done.
Resolving deltas:100% (11920/11920), done.
[Root@yum-down phpredisadmin]# CD includes
[Root@yum-down includes]# CP config.sample.inc.php config.inc.php
Modify a configuration file (for partial content)
[Root@yum-down includes]# Vim config.inc.php
Array
' Name ' => ' 7001 ',//Optional name.
' Host ' => ' 10.10.0.250 ',
' Port ' => 7001,
' Filter ' => ' *,
Optional Redis authentication.
' Auth ' => ' redispasswordhere '//warning:the password is sent into Plain-text to the Redis server.
),
Array
' Name ' => ' 7002 ',
' Host ' => ' 10.10.0.250 ',
' Port ' => 7001,
),
Rdbtools Analysis Memory Tool
[Root@yum-down ~]# pip Install Rdbtools
[Root@yum-down ~]# Https://github.com/sripathikrishnan/redis-rdb-tools
[Root@yum-down ~]# cd/opt/7001/
[Root@yum-down 7001]# rdb-c memory Dump_7001.rdb > Memory.csv
The CSV file is then opened for viewing, which reads as follows:
Databases,key, size, format, length, as follows:
SALT. MODULES. The Saltutil module is described below: https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.saltutil.html
Several tools use different, no more say