phpredisAdmin是一個(gè)web端管理redis的工具,每次都是命令行操作,今天安裝了下,做個(gè)筆記
創(chuàng)新互聯(lián)是一家專業(yè)提供浠水企業(yè)網(wǎng)站建設(shè),專注與成都網(wǎng)站建設(shè)、網(wǎng)站制作、H5響應(yīng)式網(wǎng)站、小程序制作等業(yè)務(wù)。10年已為浠水眾多企業(yè)、政府機(jī)構(gòu)等服務(wù)。創(chuàng)新互聯(lián)專業(yè)的建站公司優(yōu)惠進(jìn)行中。
[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 p_w_picpaths 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 array( array( 'name' => '100 server', // Optional name.可以設(shè)置多個(gè)服務(wù)器 '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( //登陸帳號(hào) 'password' => 'redismima123456', //密碼 ), /*'guest' => array( 'password' => '', 'servers' => array(1) // Optional list of servers this user can access. )*/ ),