Code Signing (Digital Signature) using Signtool Rumi, February 4, 2013 The following command adds the catalog file MyCatalogFileName.cat to the system component and driver database. The /v option generates a unique name if necessary to prevent replacing an existing catalog file named MyCatalogFileName.cat. signtool catdb /v /u MyCatalogFileName.cat The following command signs a file automatically by using the best certificate…. Continue Reading
Install Munin on SL 6 Rumi, January 31, 2013 [root@master ~]# yum –enablerepo=epel -y install munin munin-node # install from EPEL [root@master ~]# vi /etc/munin/munin.conf # line 60: change to your hostname Continue Reading
Install Munin on CentOS 5 Rumi, January 20, 2013 1 Preliminary Note Our system's hostname is server1.example.com, and we have a web site www.example.com on it with the document root /var/www/www.example.com/web. 2 Enable The RPMforge Repository On CentOS 5.2, munin and monit are not available in the default CentOS repositories. Fortunately we can install them from the RPMforge repository…. Continue Reading
MySQL Master-Master or Master-Slave Replication Error Fix Rumi, January 18, 2013 Scenario Master – Master replication MasterA is a client facing server MasterB is a warm standby server (read only) MasterB restarted abruptly and when instances were braught back up MasterA (it’s slave) was showing the following error: MasterA has the following error in show slave status: Last_IO_Errno: 1236 Last_IO_Error: Got… Continue Reading
Enabling munin node plug-ins on Debian Rumi, January 18, 2013January 18, 2013 Munin uses plug-ins to determine what data is gathered and reported. It includes several plug-ins for the types of data most people would be interested in, but not all of those plug-ins are enabled on a fresh installation. What are plug-ins? When a munin node gathers data about a slice… Continue Reading
Munin Memcached Installation Rumi, January 16, 2013 Download memcache plugin memcached.tar.gz the plug-in was found here: http://munin-monitoring.org/browser/trunk/plugins/node.d/memcached_.in. The alternate download link is Here- memcached.tar The plug-in is written in Perl and needs the Memcached Perl library installed to communicate with memcache. ~$ apt-get install libcache-memcached-perl ~$ tar -zxvf memcached.tar.gz ~$ cp memcached_ /usr/share/munin/plugins ~$ ln -s /usr/share/munin/plugins/memcached_… Continue Reading
PHP-RRDTool installation on CentOS 5 Rumi, January 13, 2013January 13, 2013 Step-1 Adding Yum Repository Add the Reporforge repository. Then- Yum install php-rrdtool Alternatively, you can download the rpm from http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/php-rrdtool-1.4.4-1.el5.rf.i386.rpm Continue Reading
Monitor MySQL database restore progress with pv Rumi, January 12, 2013 The pv command is one that I really enjoy using but it's also one that I often forget about. You can't get a much more concise definition of what pv does than this one: pv allows a user to see the progress of data through a pipeline, by giving information… Continue Reading
Installing XHProf on Debian Rumi, January 12, 2013January 12, 2013 xhprof provides profiling information, down to the function call. This includes execution time, CPU and memory usage for each operation. The module allows you to find and optimise bottlenecks in your application. The library includes a GUI output, you just use the classes provided to create the reports. I installed… Continue Reading
Nagios- Memory Check Plugin Rumi, January 6, 2013January 6, 2013 Dave the below code as check_mem.sh using nano and chmod it to +x. (file to be saved inside nagios libexec- such as /usr/local/nagios/libexec/check_mem.sh Continue Reading