Install Redis Server and PHP-Redis on Debian or Ubuntu System Rumi, April 20, 2018 you can install the phpredis extension from the Ubuntu respositories. First, if you don’t have it installed already, let’s install Redis: sudo apt-get install redis-server After we get Redis installed (and/or verified that it was installed), we can install the PHP module for Redis: sudo apt-get install php5-redis After the module is done installing, you will want to restart your webserver and/or process manager (php-fpm, spawncgi, et cetera). Once you’ve restarted, you can check phpinfo() for a new section labeled Redis. On Ubuntu 14.x System, you may try: Install Redis 2.8.9 sudo apt-add-repository ppa:chris-lea/redis-server sudo apt-get update sudo apt-get install redis-server Remove Redis 2.8.9 sudo apt-get purge--auto-remove redis-server Related Administrations Configurations (Linux) DebianRedisUbuntu
Mrtg: example cfg for memory, cpu, disk etc. September 5, 2011 CPU Usage /etc/mrtg/cpu.cfg WorkDir: /var/www/mrtg LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Target[localhost.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:public@127.0.0.1+ ssCpuRawSystem.0&ssCpuRawSystem.0:public@127.0.0.1+ ssCpuRawNice.0&ssCpuRawNice.0:public@127.0.0.1 RouterUptime[localhost.cpu]: public@127.0.0.1 MaxBytes[localhost.cpu]: 100 Title[localhost.cpu]: CPU Load PageTop[localhost.cpu]: Active CPU Load % Unscaled[localhost.cpu]: ymwd ShortLegend[localhost.cpu]: % YLegend[localhost.cpu]: CPU Utilization Legend1[localhost.cpu]: Active CPU in % (Load) Legend2[localhost.cpu]: Legend3[localhost.cpu]: Legend4[localhost.cpu]: LegendI[localhost.cpu]: Active LegendO[localhost.cpu]: Options[localhost.cpu]: growright,nopercent Memory Usage /etc/mrtg/mem.cfg LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Target[localhost.mem]: .1.3.6.1.4.1.2021.4.6.0&.1.3.6.1.4.1.2021.4.6.0:public@localhost… Read More
Java plug-in does not work in Firefox after installing Java May 1, 2020 Tested on Firefox 42 (old release) and Sea-Monkey 2.46/2.49. There are several workaround options. The simplest method is noted first and is recommended. The remaining available options are not recommended for non-technical users. Option 1: Add property name dom.ipc.plugins.java.enabled in Firefox preferences 1. Launch Firefox 2. Type about:config in the… Read More
Enable WIndows Photo Viewer in Windows 10 June 13, 2018 Default windows “Photo” app is clumsy at some point, missed the earlier “Photo Viewer” program. So, going back to root and after googling, here’s a small hack to enable “Windows Photo Viewer” in windows 10 edition. Download the photo.zip and unzip it. You’ll get a photo.reg file. The file is… Read More