Redis的图形界面管理工具phpRedisAdmin

来源:互联网 发布:图书馆可视化数据工具 编辑:程序博客网 时间:2024/05/22 11:59

1、官网提供了两种安装方式

官网:https://github.com/ErikDubbelboer/phpRedisAdmin


a)To install phpRedisAdmin through composer you need to execute the following commands:

        curl -s http://getcomposer.org/installer | php

        php composer.phar create-project -s dev erik-dubbelboer/php-redis-admin  /var/www/phpRedisbAdmin


b)Instead of using composer, you can also do a manual install using:

        git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git

        cd phpRedisAdmin

    git clone https://github.com/nrk/predis.git vendor


2、You may also want to copy includes/config.simple.inc.php to includes/config.inc.php and edit it with your specific redis configuration.


3、修改配置nginx配置
vi /etc/nginx/nginx.conf
#添加location
       location /phpRedisAdmin
                root      /var/www;
                index     index.php;
        }

        location ~ \.php$ {
                root           /var/www;
                fastcgi_pass   127.0.0.1:9000;
                fastcgi_index  index.php;
                fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
                include        fastcgi_params;
        }

0 0