Download phpMemCachedAdmin tarball
#wget http://phpmemcacheadmin.googlecode.com/files/phpMemcachedAdmin-1.2.2-r262.tar.gz
Install phpMemCachedAdmin in `/var/www/html/memcached/` directory, create a folder memcached inside /var/ww/html/. Extract phpMemCachedAdmin.tar.gz and change permission for Memcache.php
# mkdir -p /var/www/html/memcached
# tar -xvzf phpMemcachedAdmin-1.2.2-r262.tar.gz -C /var/www/html/memcached/
# chmod a+rwx /var/www/html/memcached/Config/Memcache.php
Apache Configuration
Create a file "memcached.conf" inside /etc/httpd/conf.d and add below configuration in that file.
# vim memcached.conf
Add below configuration in memcached.conf
Listen 85
<VirtualHost *:85>
ServerName 10.23.11.11
UseCanonicalName Off
ServerAdmin "kulshresht@xyz.com"
DocumentRoot "/var/www/html/memcached"
CustomLog /var/log/httpd/memcached-access_log common
ErrorLog /var/log/httpd/memcached-error_log
</VirtualHost>
P.S: You can use any port for phpAdmin , whichever is free for you. In mine case 80 and 81 were already used , therefore i had used 85.
Restart Apache: /etc/init.d/httpd restart
P.S: Do not forget to install php to see the UI interface -> [ sudo yum install php ]
Few snapshots are attached below for reference:
If you want to explore further on Memcache installation steps then go to below link:
http://kulshresht-gautam.blogspot.in/2013/07/memcached-installation.html
No comments:
Post a Comment