phpRedisAdmin is a simple web interface to manage Redis databases.

phpRedisAdmin 在 Redis clients 的列表中,目前还零星有更新;

It is released under the Creative Commons Attribution 3.0 license. This code is being developed and maintained by Erik Dubbelboer.

Example,感受一下

You can find an example database at http://dubbelboer.com/phpRedisAdmin/

 
体会一下
  • server:同时可以管理若干个 server;每个 server 是 redis 的一个实例;
  • database:每个 server 默认划分为 16 个库,用于 key 空间的隔离;
  • 第 1 个filter是过滤 server 的(type here to server filter),默认 * 星号即可;
  • 第 2 个filter是过滤 key 的(type here to filter),即 KEYS 命令;
  • 蓝色 i 图标可以查看 INFO 命令结果;
安装
  • 下载版本包
    从 github 下载 [phpRedisAdmin],最新版 v1.6.0。依赖 predis 1.0.3 及以上;
    从 github 下载 predis,最新 v1.1.1。
  • 或者从 git 库直接 clone
git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git
cd phpRedisAdmin
git clone https://github.com/nrk/predis.git vendor
配置
  • Predis 代码直接放在 phpRedisAdmin 的 vendor 子目录下;
    如果 predis 不存在,报 500 错误。
    Predis:Flexible and feature-complete Redis client for PHP and HHVM;
  • 配置 config.inc.php
    You may also want to copy includes/config.simple.inc.php to includes/config.inc.php and edit it with your specific redis configuration.
    如果你要修改配置,则复制 config.simple.inc.php 到 config.inc.php 进行修改即可;通常不必修改;
    访问 redis 数据通常要进行认证,要确保数据安全;
    login 变量就是负责认证的;
  • 直接使用 nginx HTTP Basic Authentication 进行认证即可(不必配置修改 login 变量);
redisadmin.conf 配置片段 の nginx
    auth_basic "redisadmin authentication required";
auth_basic_user_file htpasswd/redisadmin.example.com; index index.php;
location ~ ".*\.php$" {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
Troubleshooting(性能问题)
  • 初始页面会加载全部数据;
  • 当 keys 上万时,筛选是比较耗时的;
  • 内存分配耗尽问题
    error.log 如下:

2016/10/25 12:23:36 [error] 19098#0: *3394834 FastCGI sent in stderr: "PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/app/example/phpRedisAdmin/index.php on line 53" while reading response header from upstream, client: 1.202.201.13, server: redisadmin.example.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "redisadmin.example.com"
注:memory_limit 128M 内存限制问题,修改 /usr/local/php/lib/php.ini,或者 php 脚本加入 ini_set('memory_limit', '256M'); 详见 ini_set 函数

sasanrose/phpredmin

Sasan Rose 主导开发的这个 Web 界面,颇具特色,支持 console 命令,有统计图形,操控性看起来很强大;

作者:michael_jia
链接:https://www.jianshu.com/p/0792472b4a1d
來源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

Redis 在线管理工具(phpRedisAdmin)介绍的更多相关文章

  1. PyRedisAdmin v1.0 Beta 发布,Redis 在线管理工具 - 开源中国社区

    PyRedisAdmin v1.0 Beta 发布,Redis 在线管理工具 - 开源中国社区 PyRedisAdmin v1.0 Beta 发布,Redis 在线管理工具

  2. Redis 在线管理工具(phpRedisAdmin)介绍 两次git

    phpRedisAdmin is a simple web interface to manage Redis databases. phpRedisAdmin 在 Redis clients 的列表 ...

  3. redis cluster管理工具redis-trib.rb详解

    redis cluster管理工具redis-trib.rb详解 来源 http://weizijun.cn/2016/01/08/redis%20cluster%E7%AE%A1%E7%90%86% ...

  4. Redis桌面管理工具 RedisDesktopManager

    下载链接地址:[官网地址:https://redisdesktop.com] redis-desktop-manager-0.8.8.384.exe Source code (zip) Source ...

  5. 安装window下的redis,redis可视化管理工具(Redis Desktop Manager)安装,基础使用,实例化项目

    以下包括内容: 一.redis下载安装,启动 二.Redis可视化管理工具(Redis Desktop Manager)安装 三.实例化项目 一.redis下载安装,启动 1,redis官方下载地址: ...

  6. redis : 桌面管理工具 redis-desktop-manager使用指南

    概要:一款好用的Redis桌面管理工具,支持命令控制台操作,以及常用,查询key,rename,delete等操作. 下载软件,请点击下面链接,进入下载页,选择对应版本: https://redisd ...

  7. redis桌面管理工具 redis-desktop-manager使用指南(转)

    版权声明:转自 http://blog.csdn.net/li396864285/article/details/54629898     概要:一款好用的Redis桌面管理工具,支持命令控制台操作, ...

  8. redis的管理工具

    phpredisadmin工具 rdbtools管理工具 saltstack管理redis 通过codis完成redis管理 一:phpredisadmin工具:类似于mysqladmin管理mysq ...

  9. Redis客户端管理工具,状态监控工具

    TreeNMS是一款Redis web客户端管理工具,采用JAVA开发,实现基于web方式对Redis数据库进行管理.监控.数据维护. 功能包括:数据库的状态监控,库表的展示,key,value的展示 ...

随机推荐

  1. 接口开发-集成接口文档(swagger)

    在正式进入主题之前,先说说实际工作中遇到的问题.不算是传统的原生APP开发,还是眼下的H5混合开发,只要是需要前后端通过接口配合的,往往都存在几个普遍的问题 (1)接口文档谁来写,尤其是跨部门,并且, ...

  2. Delphi 的链式代码

    有了一系列的 Helper, Delphi 也可以使用链式代码了. //譬如要把 3.1415926 中的 141 提取为一个整数: var num: Integer; begin num := Pi ...

  3. 反接保护电路 Reverse Voltage Protection

    Reverse Voltage Protection I've long wanted to pull together some reverse polarity protection ideas ...

  4. Versaloon -- Connect To Targets

    Versaloon Full open-source(GPLv3) platform for multiple applications, including programmer, debugger ...

  5. 【优化】COUNT(1)、COUNT(*)、COUNT(常量)、COUNT(主键)、COUNT(ROWID)等

    http://blog.itpub.net/26736162/viewspace-2136339/

  6. Cygwin、MinGw、mingw-w64,MSys msys2区别与联系

    https://www.biaodianfu.com/cygwin-ming-msys.html http://www.mingw-w64.org/doku.php http://blog.csdn. ...

  7. Lex与Yacc学习

    http://www.cnblogs.com/shine-yr/p/5214976.html

  8. 在Visual Studio中使用序列图描述对象之间的互动

    当需要描述多个对象之间的互动,可以考虑使用序列图. 在建模项目下添加一个名称为"Basic Flow"的序列图. 比如描述客户是如何在MVC下获取到视图信息的. 备注: ● 通常是 ...

  9. .NET中常见的内存泄漏和解决办法

    在.NET中,虽然CLR的GC垃圾回收器帮我们自动回收托管堆对象,释放内存,最大程度避免了"内存泄漏"(应用程序所占用的内存没有得到及时释放),但.NET应用程序"内存泄 ...

  10. EXCEL密码破解/破解工作表保护密码

    网上有很多这个代码,但很多朋友并不太了解如何运用在此做了一些整理,希望对大家有所帮助! 注:很多时候会因为忘记密码丢失重要EXCEL文件而烦恼,这份代码就能帮你找回,仅仅出之这个初衷,如因为这个代码让 ...