小貝_redis web管理介面工具安裝

來源:互聯網
上載者:User

標籤:phpredis   local   管理操作   環境   介面   server   檔案下載   include   overview   

RedisWEB管理介面工具安裝 一、概述
二、檔案下載
三、安裝過程

 

一、概述

       1、因為redis是基於C/S的方式開發。也就是說,僅僅要滿足於redis的client通訊要求的,都能夠作為redis的client,進行串連服務端進行管理操作。這裡採用的是基於web方式的來管理redis。

       2、基於web的方式的優缺點:

              2.1、長處:

a、在client這邊不須要多餘操作。僅僅需有個瀏覽器就可以

              2.2、缺點:

a、因為是web方式,因此,須要server提供web服務,假設web服務配置不當。易引起安全問題。

       3、這裡採用的是一款開源的web管理工具 phpredisadmin

 

二、檔案下載

1、redis管理工具: phpredisadmin

https://github.com/ErikDubbelboer/phpRedisAdmin

2、redisclient: predis

https://github.com/nrk/predis

三、安裝過程

1、機器環境說明:

       a、作業系統: win7 64位

b、web環境: WampServer Version 2.2(Apache 2.2.21和php5.3.10)

c、redis版本號碼: Redis 2.8.19 (00000000/0) 64 bit

2、安裝phpredisadmin

       2.1、解壓phpredisadmin後的檔案夾結構

       2.2、開啟index.php

         2.3、開啟includes/common.inc.php

         2.4、開啟includes/config.sample.inc.php

       (複製config.sample.inc.php為config.inc.php)

         2.5、解壓predis,把其放置至phpredisadmin檔案夾裡面

 

      (predis檔案夾)

 

         2.6、開啟includes/common.inc.php

         (把紅色地區改動為predis檔案夾下autoload.php)

 

3、測試phpredisadmin

       3.1、訪問本地 http://localhost/phpredisadmin/?overview


         3.2、往redis加入key為name,其值為xiaobei

         3.3、查看剛才加入的key為name

         方式1: phpredisadmin

         方式2: redis內建client redis-cli.exe        

 


4、興許

4.1、執行phpredisadmin時,必須先開啟web服務。以及啟動redis進程。不然會報錯

4.2、php想操作第三方工具。如mongo、memcache、mysql、redis等。一能夠採用安裝相相應的php拓展。二能夠採用相應的php工具client。

小貝_redis web管理介面工具安裝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.