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
Cacti: How ton install on a Debian server Rumi, September 11, 2011April 19, 2015 ======================================= A Newer version of this document is available at- Cacti on Debian (Updated) ======================================= The following programs are needed to run cacti: – apache2 for the web server – mysql-server for the database – php5 for the server-based script – php5-common – php5-cgi – php5-cli – php5-mysql – snmp… Continue Reading
Mrtg: example cfg for memory, cpu, disk etc. Rumi, September 5, 2011 CPU Usage /etc/mrtg/cpu.cfg WorkDir: /var/www/mrtg LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt Target[localhost.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:public@127.0.0.1+ ssCpuRawSystem.0&ssCpuRawSystem.0:public@127.0.0.1+ ssCpuRawNice.0&ssCpuRawNice.0:public@127.0.0.1 RouterUptime[localhost.cpu]: public@127.0.0.1 MaxBytes[localhost.cpu]: 100 Title[localhost.cpu]: CPU Load PageTop[localhost.cpu]: Active CPU Load % Unscaled[localhost.cpu]: ymwd ShortLegend[localhost.cpu]: % YLegend[localhost.cpu]: CPU Utilization Legend1[localhost.cpu]: Active CPU in % (Load) Legend2[localhost.cpu]: Legend3[localhost.cpu]: Legend4[localhost.cpu]: LegendI[localhost.cpu]: Active LegendO[localhost.cpu]: Options[localhost.cpu]: growright,nopercent Memory Usage /etc/mrtg/mem.cfg LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt Target[localhost.mem]: .1.3.6.1.4.1.2021.4.6.0&.1.3.6.1.4.1.2021.4.6.0:public@localhost… Continue Reading
MRTG Indexmaker Rumi, September 5, 2011September 5, 2011 Regular shorcut way: #indexmaker /etc/mrtg.cfg > /var/www/mrtg/index.html Now you need to reboot your system wait for five minutes or so and then take a look at your summary home page. If your Debian,ubuntu,kubuntu system’s IP address is 192.168.0.1 then you’d type in the following in the address bar of a… Continue Reading
Powerdns: init.d and mrtg Rumi, September 4, 2011 As mentioned before, the init.d commands dump, show and mrtg fetch data from a running PDNS process. Especially mrtg is powerful – it outputs data in a format that is ready for processing by the MRTG graphing tool. MRTG can make insightful graphics on the performance of your nameserver, enabling… Continue Reading