Many-To-One Mappings IIS Rumi, February 13, 2013February 13, 2013 Many-to-one Client certificate mapping is used by the Internet Information Services (IIS) to associate an end user to a windows account when the client certificate is used for the user authentication. The user session is executed under the context of this mapped windows account by IIS. For this to work… Continue Reading
Apache Web Server .htaccess File functional Rumi, February 8, 2013 .htaccess is Apache's directory-level configuration file. It allows end user to configure authentication and other options without editing main httpd.conf file. Make sure AccessFileName set to .htaccess Search httpd.conf for AccessFileName directive. It defines name of the distributed configuration file: # grep -i AccessFileName httpd.conf Make sure users are allowed… Continue Reading
Force HTTPS / SSL using .htaccess and mod_rewrite Rumi, February 7, 2013 Sometimes you may need to make sure that the user is browsing your site over securte connection. An easy to way to always redirect the user to secure connection (https://) can be accomplished with a .htaccess file containing the following lines: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]… Continue Reading
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