Redis 在线管理工具(phpRedisAdmin)介绍 两次git
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
- 或者使用 composer。
配置
- 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 命令,有统计图形,操控性看起来很强大;
Redis 在线管理工具(phpRedisAdmin)介绍 两次git的更多相关文章
- PyRedisAdmin v1.0 Beta 发布,Redis 在线管理工具 - 开源中国社区
PyRedisAdmin v1.0 Beta 发布,Redis 在线管理工具 - 开源中国社区 PyRedisAdmin v1.0 Beta 发布,Redis 在线管理工具
- Redis 在线管理工具(phpRedisAdmin)介绍
phpRedisAdmin is a simple web interface to manage Redis databases. phpRedisAdmin 在 Redis clients 的列表 ...
- redis cluster管理工具redis-trib.rb详解
redis cluster管理工具redis-trib.rb详解 来源 http://weizijun.cn/2016/01/08/redis%20cluster%E7%AE%A1%E7%90%86% ...
- 安装window下的redis,redis可视化管理工具(Redis Desktop Manager)安装,基础使用,实例化项目
以下包括内容: 一.redis下载安装,启动 二.Redis可视化管理工具(Redis Desktop Manager)安装 三.实例化项目 一.redis下载安装,启动 1,redis官方下载地址: ...
- Redis桌面管理工具 RedisDesktopManager
下载链接地址:[官网地址:https://redisdesktop.com] redis-desktop-manager-0.8.8.384.exe Source code (zip) Source ...
- redis : 桌面管理工具 redis-desktop-manager使用指南
概要:一款好用的Redis桌面管理工具,支持命令控制台操作,以及常用,查询key,rename,delete等操作. 下载软件,请点击下面链接,进入下载页,选择对应版本: https://redisd ...
- redis桌面管理工具 redis-desktop-manager使用指南(转)
版权声明:转自 http://blog.csdn.net/li396864285/article/details/54629898 概要:一款好用的Redis桌面管理工具,支持命令控制台操作, ...
- 软件-客户端管理工具-SourceTree-帮助:免费Git客户端:sourcetree详细介绍
ylbtech-软件-客户端管理工具-SourceTree-帮助:免费Git客户端:sourcetree详细介绍 1.返回顶部 1. 一.简介:一个用于Windows和Mac的免费Git客户端.Sou ...
- redis的管理工具
phpredisadmin工具 rdbtools管理工具 saltstack管理redis 通过codis完成redis管理 一:phpredisadmin工具:类似于mysqladmin管理mysq ...
随机推荐
- mysqldump命令之single-transaction
=========================================================在mysqldump中指定single-transaction时,会使用可重复读(RE ...
- python Console menu
I just finished a demo which is to provide an easy way to control hardware resources of A sample. Th ...
- MySQL中正则表达式
正则表达式是用来匹配文本的特殊的串(字符集合),将一个模式(正则表达式)与一个文本串进行比较 从文本文件中提取电话号码 查找名字中间带有数字的文件 文本块中重复出现的单词 替换页面的URL为这些URL ...
- 利用JSON将Map转换为类对象
Map类型做为一种常见的Java类型,经常在开发过程中使用,笔者最近遇到要将Map对象做为一种通用的参数变量,下传到多个业务类方法中,然后在各个业务类方法中将Map转换为指定类对象的情况.如何将Map ...
- vue-cli 创建的项目,在 nginx 上配置启用浏览器缓存
nginx 配置,关键参数: server { listen 80; server_name xxx.xxx.xxx.xxx; charset utf-8; root /home/xxx/dist/; ...
- redis实现与分析-多机数据库
1.复制,主从结构 redis 2.8以前的复制,由2个步骤 1.初始的同步 2.命令传播 存在问题:同步时出现主从 断线,需要重新发送同步sync信号,非常消耗性能 redis2.8以后新版复制 采 ...
- logback使用介绍
参考 https://www.cnblogs.com/warking/p/5710303.html
- SQL优化之count(*),count(列)
一.count各种用法的区别 1.count函数是日常工作中最常用的函数之一,用来统计表中数据的总数,常用的有count(*),count(1),count(列).count(*)和count(1)是 ...
- Flume和Kafka整合安装
版本号: RedHat6.5 JDK1.8 flume-1.6.0 kafka_2.11-0.8.2.1 1.flume安装 RedHat6.5安装单机flume1.6:http://b ...
- Reporting Services报表常用的URL参数
http://blog.sina.com.cn/s/blog_5ef7acf5010118a5.html Reporting Services报表常用的URL参数 (2012-03-01 20:57: ...