Centos Install and Configure MRTG Rumi, April 6, 2013 The Multi Router Traffic Grapher (MRTG) is a tool to monitor the traffic load on network-links. MRTG generates HTML pages containing PNG images which provide a LIVE visual representation of this traffic. You need the following packages: mrtg : Multi Router Traffic Grapher net-snmp and net-snmp-utils : SNMP (Simple Network… Continue Reading
Using DKIM to Authenticate Email Message Rumi, March 25, 2013September 11, 2016 Domain Keys Identified Mail (DKIM) defines a domain-level authentication mechanism that lets your organization take responsibility for transmitting an email message in a way that can be verified by a recipient. Your organization can be the originating sending site or an intermediary. Your organization’s reputation is the basis for evaluating… Continue Reading
pressflow varnish installation and configuration Rumi, March 24, 2013March 24, 2013 Installation Varnish is the key software that speeds up your web site. It is Open Source, built on industry standards and requires very few resources. Varnish is distributed in the EPEL (Extra Packages for Enterprise Linux) package repositories. However, while EPEL allows new versions to be distributed, it does not… Continue Reading
Munin Installation on Linux Rumi, March 24, 2013 Installation on Debian/Ubuntu? If you are running Debian/Ubuntu?, you are in luck. Munin node Since "Munin Node" is in the standard repository, you can just type: # apt-get install munin-node Munin master Since "Munin master" is in the standard repository, you can just type: # apt-get install munin Installation on… Continue Reading
Munin to monitor mysql on Debian 6 Rumi, March 19, 2013 First we need to install some Mysql-Munin perl libraries: apt-get install libipc-sharelite-perl Also some Perl stuff will be needed: perl -MCPAN -eshell install IPC::ShareLite Next let’s activate Munin Mysql plugin: Assuming you have already installed both munin & mysql ln -s /usr/share/munin/plugins/mysql_* /etc/munin/plugins Restart both Apache & Munin: /etc/init.d/apache2 restart… Continue Reading
MySQL Root Password Reset Rumi, March 18, 2013 First things first. Log in as root and stop the mysql daemon. Now lets start up the mysql daemon and skip the grant tables which store the passwords. mysqld_safe –skip-grant-tables You should see mysqld start up successfully. If not, well you have bigger issues. Now you should be able to… Continue Reading
Hide the Apache Web Server Version number with ServerSignature and ServerTokens directives Rumi, March 7, 2013 You can easily hide Apche (httpd) version number and other information. There are two config directives that controls Apache version. The ServerSignature directive adds a line containing the Apache HTTP Server server version and the ServerName to any server-generated documents, such as error messages sent back to clients. ServerSignature is… Continue Reading
Securing directory using .htaccess file Rumi, February 25, 2013October 20, 2013 First make sure your Apache configuration is set for allowing .htaccess. Read this Article first before you move to the next steps. .htaccess File Creation: Let's assume /test-dir1 is to be password protected. $ cd /var/www/html/test-dir1 $ vi .htaccess Write the following lines into this file: AuthName "Authorized Users Only."… Continue Reading
Install htop in Linux- Redhat/CentOS/SL and Debian/Ubuntu Rumi, February 18, 2013 There are times you want to have a better control over the system processes and usage and also having a better visual of RAM and CPU usage on your server.As You may already know there is a Linux command called top which will show the resources and users cpu usage… 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