Redisweb Management Interface Tool installation
I. Overview
Second, the file download
Third, the installation process
I. Overview
1, because the Redis is based on the C/s method of development. In other words, as long as the client communication requirements of Redis are satisfied, it can be used as a Redis client to manage the connection server. The web-based approach to managing Redis is used here.
2. Advantages and disadvantages of web-based approach:
2.1. Advantages:
A, on the client side do not need redundant operation, just have a browser can
2.2. Disadvantages:
A, because it is web-style, it requires the server to provide Web services, if the Web services are improperly configured, it is easy to cause security problems.
3, here is an open-source web management tool Phpredisadmin
Second, the file download
1. Redis Management tool: Phpredisadmin
Https://github.com/ErikDubbelboer/phpRedisAdmin
2. Redis Client: Predis
Https://github.com/nrk/predis
third, the installation process
1, Machine Environment Description:
A, operating system: Win7 64-bit
B. Web environment: Wampserver Version 2.2 (Apache 2.2.21 and php5.3.10)
C, Redis version: Redis 2.8.19 (00000000/0)
2, Installation Phpredisadmin
2.1, the directory structure after decompression phpredisadmin
2.2. Open index.php
2.3. Open includes/common.inc.php
2.4. Open includes/config.sample.inc.php
( copy config.sample.inc.php to config.inc.php)
2.5, unzip the Predis, put it into the Phpredisadmin directory
(predis directory)
2.6. Open includes/common.inc.php
(change the red area to the Predis directory autoload.php)
3. Test Phpredisadmin
3.1. Access local Http://localhost/phpredisadmin/?overview
3.2. Add key to Redis as name, and its value is Xiaobei
3.3. View the key you just added is name
Way 1:phpredisadmin
mode 2:redis built-in client Redis-cli.exe
4. Follow-up
4.1, when running phpredisadmin, you must first open the Web service, and start the Redis process, or will be error
4.2, PHP want to operate third-party tools, such as MONGO, Memcache, MySQL, Redis, and so on, one can be installed with the corresponding PHP extension, the second can use the corresponding PHP tool client.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Mini-_redis Web Management Interface Tool installation