Enable Directory Listing in Nginx Webserver Rumi, October 1, 2011 Here is a simple way to enable directory listing in Nginx Webserver. I have a subdomain repository.wowtutorial.org and i want repository.wowtutorial.org to have ability to listing a directory. All we need to do just modify the vhosts or nginx.conf Add autoindex on; Please see the example below Example : #nano… 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
Canon scanner N340P/ N640P problem on windows 7 or vista Operating System Rumi, September 15, 2011 I was trying to use my old scanner Canon flatbed scanner "CanoScan N 640P ex" model. The driver installation didn't give any compatibility issue. However, after the OEM driver installed and tried to scan something- I was receiving this error- canocraft cs-p 3.8 profile not found error code 0x24050010 After… 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
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