Installing Redis graphical Interface management tool Phpredisadmin
Redis also provides a graphical interface management tool Phpredisadmin, similar to the phpMyAdmin page management tool provided by MySQL, which is a tool based on PHP code. Phpredisadmin mainly provides maintenance of key values, additions and deletions, import and export of libraries, and view info information.
In addition to the performance point of view, I do not recommend the use of the online Redis environment, after all, phpredisadmin is a large amount of big data management of the Web interface, will consume larger system resources.
Installation steps:
1. Install lamp, see the previous "fast-setting lamp environment".
2. Installation of php-devel,phpize belongs to Php-devel.
Yum Install Php-devel-y
3. Install PHP client Phpredis.
cd/tmp wget https://github.com/phpredis/phpredis/archive/master.tar.gz tar xvf Master CD phpredis-master
Compile, install extensions:
Phpize./configure--enable-redis make && make install
After installation, the following information will appear:
Installing Shared extensions:/usr/lib64/php/modules/
4. Installing the PHP mbstring extension
Yum-y Install php-mbstring
Because the includes/common.inc.php is useful to:
Mb_internal_encoding (' Utf-8 ');
If you do not install, access to the home page will show blank.
5. Configuring the php.ini File
Vi/etc/php.ini
Find Extension_dir and change back to/usr/lib64/php/modules
Then add two lines below the extension=redis.so and extension=mbstring.so
As follows:
Extension_dir = "/usr/lib64/php/modules" extension=redis.soextension=mbstring.so
6. Installing Phpredisadmin
Cd/tmp git clone https://github.com/ErikDubbelboer/phpRedisAdmin.gitcd phpredisadmingit clone HTTPS://GITHUB.COM/NRK /predis.git VENDORCD. MV phpredisadmin/var/www/html/
7. Configure Phpredisadmin
Configuration file under/var/www/html/phpredisadmin/includes:
CP config.sample.inc.php config.inc.php VI config.ini.php
Modify name, host, port for Redis server, cancel account password comment enable HTTP authentication.
Save the changes.
8. Restart the service
Service httpd Restart
9. Visit the page
Http://192.168.1.23/phpRedisAdmin
650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "alt=" clip_image002 "src=" Http://s3.51cto.com/wyfs02/M01/6D/DA/wKiom1VtUaSQc76pAAEHpY2B9z0493.jpg "border=" 0 "height=" 335 "/>
This article is from the SQL Server deep dives blog, so be sure to keep this source http://ultrasql.blog.51cto.com/9591438/1657502
Installing the Redis graphical Interface management tool Phpredisadmin