首页 > 代码库 > phpRedisAdmin 安装
phpRedisAdmin 安装
phpRedisAdmin是一个web端管理redis的工具,每次都是命令行操作,今天安装了下,做个笔记
[root@localhost linshi]# git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git Initialized empty Git repository in /root/linshi/phpRedisAdmin/.git/ remote: Counting objects: 484, done. remote: Total 484 (delta 0), reused 0 (delta 0) Receiving objects: 100% (484/484), 170.26 KiB | 114 KiB/s, done. Resolving deltas: 100% (230/230), done. [root@localhost linshi]# ls phpRedisAdmin [root@localhost linshi]# cd phpRedisAdmin/ [root@localhost phpRedisAdmin]# ls composer.json css edit.php flush.php import.php index.php js overview.php rename.php ttl.php composer.lock delete.php export.php images includes info.php logout.php README.markdown save.php view.php [root@localhost phpRedisAdmin]# git submodule init [root@localhost phpRedisAdmin]# git submodule update [root@localhost phpRedisAdmin]# cp includes/config.sample.inc.php includes/config.inc.php [root@localhost phpRedisAdmin]# vim includes/config.inc.php <?php //Copy this file to config.inc.php and make changes to that file to customize your configuration. $config = array( ‘servers‘ => array( array( ‘name‘ => ‘100 server‘, // Optional name.可以设置多个服务器 ‘host‘ => ‘192.168.1.100‘, ‘port‘ => 6379, ‘filter‘ => ‘*‘, ), array( ‘name‘ => ‘101 server‘, // Optional name. ‘host‘ => ‘192.168.1.101‘, ‘port‘ => 6379, ‘filter‘ => ‘*‘, ), ‘login‘ => array( // Username => Password // Multiple combinations can be used ‘admin‘ => array( //登陆帐号 ‘password‘ => ‘redismima123456‘, //密码 ), /*‘guest‘ => array( ‘password‘ => ‘‘, ‘servers‘ => array(1) // Optional list of servers this user can access. )*/ ),
phpRedisAdmin 安装
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。