Linux Distributions Rumi, September 20, 2011 A must read to learn and know the origins of different flavors of Linux distros. You'l end up wondering 'why didn't I notice this before?…' 🙂 http://en.wikipedia.org/wiki/List_of_Linux_distributions http://www.webmin.com/support.html Continue Reading
PowerDNS Cache dump in CSV Rumi, September 17, 2011 The objective is simple, a periodic cron cache dump of powerdns recursor on a setup. 1. create a shell code as below using nano- #nano /usr/local/bin/pdns-cache-dump.sh #!/bin/sh DAY=`/bin/date +%Y%m%d` TFILE="/var/log/pdns-cache/$(basename $0).$DAY.csv" rec_control dump-cache $TFILE echo "cache dump completed, dump script by rumi (hasan.emdad@mango.com.bd)" Continue Reading
Virtuabox: Quick installation on Debian Linux Rumi, September 17, 2011 step-1 ====== install debian step-2 ======= checking if 'synaptic' 'gedbi' are installted step-3 ====== install xrdp for remote installation step-4 ======== installing webmin Continue Reading
endian firewall community defaul root password Rumi, September 13, 2011 I do not like to read whole documentation to get the default password, it is wasting of time, so I use google to do it. But it was rather hard do find the default password for endian firewall (Yes, I've just installed it for testing purposes). So: login: root… Continue Reading
endian: How to configure the OpenVPN client on a Linux workstation Rumi, September 13, 2011 Go to VPN > OpenVPN Server Download the CA certificate using the link Download CA Certificate Save the certificate locally as, lets say, /home/user/cacert.pem Start the OpenVPN client using the following command line: openvpn –client –pull –comp-lzo –nobind –dev tap0 –ca /home/user/cacert.pem –auth-user-pass –remote your.remote.efw Continue Reading
Installing Gnome on Debian 5 Rumi, September 11, 2011September 11, 2011 The GNOME Desktop task is what is installed by Debian-Installer's Desktop "task" (unless you picked another DesktopEnvironment !). To install it, first make sure that tasksel and aptitude: apt-get install aptitude tasksel Then, install the gnome task: tasksel install gnome-desktop –new-install Continue Reading
Cacti: How to install on Centos 5.x server Rumi, September 11, 2011September 11, 2011 Required software(s) You need to install the following software on RHEL / Fedora / CentOS Linux: MySQL Server : Store cacti data. NET-SNMP server – SNMP (Simple Network Management Protocol) is a protocol used for network management. PHP with net-snmp module – Access SNMP data using PHP. Apache / lighttpd… Continue Reading
rec_control man section Rumi, September 11, 2011September 11, 2011 Name rec_control – control pdns_recursor Synopsis rec_control [–help] [–socket-dir] [–socket-pid] command .. Description rec_control(1) allows the operator to control a running instance of the pdns_recursor. The commands that can be passed to the recursor are described on http://doc.powerdns.com/rec-control.html Examples To stop the recursor by hand, run: # rec_control quit To… Continue Reading
PowerDNS: Rec Control Rumi, September 11, 2011 make rec_control be more user friendly make wipe-cache accept non-dot terminated domain names make wipe-cache return count of wiped ('wopen'?) domains document best current practice when wiping (wipe more than www.domain, wipe domain as well) REC_CONTROL(1) ============== NAME —- rec_control – control pdns_recursor SYNOPSIS ——– 'rec_control' [–help] [–socket-dir] [–socket-pid] command… Continue Reading
Cacti: PowerDNS Recursor Templates Rumi, September 11, 2011 Here are a couple of graph templates for the PowerDNS recursor. They need a shell script to be installed on the DNS server, and an net-snmp config change. Add the following to the snmpd.conf extend pdns-rec /usr/local/bin/pdns_stats.sh Put pdns_stats in /usr/local/bin, so that snmpd can find it (rename from pdns_stats.txt)…. Continue Reading