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 命令,有统计图形,操控性看起来很强大;

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

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

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

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

    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. 安装window下的redis,redis可视化管理工具(Redis Desktop Manager)安装,基础使用,实例化项目

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

  5. Redis桌面管理工具 RedisDesktopManager

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

  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. 软件-客户端管理工具-SourceTree-帮助:免费Git客户端:sourcetree详细介绍

    ylbtech-软件-客户端管理工具-SourceTree-帮助:免费Git客户端:sourcetree详细介绍 1.返回顶部 1. 一.简介:一个用于Windows和Mac的免费Git客户端.Sou ...

  9. redis的管理工具

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

随机推荐

  1. centos7升级自带的php5.4版本到php5.6

    history命令历史 8 yum provides php #自带的只有5.4版本 9 rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-relea ...

  2. 简单 babel plugin 开发-使用lerna 工具

    babel在现在的web 应用开发上具有很重要的作用,帮助我们做了好多事情,同时又有 比较多的babel plugin 可以解决我们实际开发上的问题. 以下只是学习下如果编写一个简单的babel pl ...

  3. pushpin openresty 集成试用

    pushpin 是一个很不错的将restapi 转换为reailtime api 的proxy,openresty 具有很强的nginx 控制能力 可以方便的用来进行api 的开发,默认其他语言pus ...

  4. sqler sql 转rest api 的docker 镜像构建(续)使用源码编译

    sqler 在社区的响应还是很不错的,已经添加了好多数据库的连接,就在早上项目的包管理还没有写明确, 下午就已经有go mod 构建的支持了,同时也调整下docker 镜像的构建,直接使用git cl ...

  5. 使用patroni 解决hasura graphql-engine pg 数据库ha的问题

    环境准备 机器pg 数据库地址修改为haproxy 的ip地址,端口是haproxy的tcp 端口,配置比较简单 hasura graphql-engine docker-compose versio ...

  6. 如何安装Visio

  7. opencv人脸识别代码

    opencv人脸识别C++代码 /* * Copyright (c) 2011,2012. Philipp Wagner <bytefish[at]gmx[dot]de>. * Relea ...

  8. 家庭记账本web开发

    这个系统的整体结构: GitHub:https://github.com/lq1998lq/Test.git com.action包: package com.action; import java. ...

  9. 实例对象与 new 命令

    引用:https://wangdoc.com/javascript/oop/new.html JavaScript 语言的对象体系,不是基于"类"的,而是基于构造函数(constr ...

  10. tornado 笔记

    简单比较Django和Tornado Django是走大而全的方向,注重的是高效开发,最出名的是全自动化管理后台 Tornado走的是少而精的方向,注重的是性能的优化,最出名的是异步非堵塞 安装方式: ...