Introduction to Redis Database management tools

Source: Internet
Author: User
Tags pack redis git clone redis server

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.