Powerdns: rec_control command Rumi, September 4, 2011 The rec_control get command can be used to query the following statistics, either single keys or multiple statistics at once: all-outqueries counts the number of outgoing UDP queries since starting answers0-1 counts the number of queries answered within 1 milisecond answers100-1000 counts the number of queries answered within 1 second… Continue Reading
Insall cache only powerdns server Rumi, September 4, 2011 I decided to install another caching dns server , after some research I found PowerDNS. it uses MySQL for storing its zones , but hopefully its caching component doesnt need mysql , so great , lets go and install it. My favourite OS is debian lenny , so I ran… Continue Reading
Upgrading Cacti Rumi, September 4, 2011 Backup the old Cacti database. shell> mysqldump -l –add-drop-table cacti > mysql.cacti Note: You will probably have to specify the -u and -p flags for the MySQL username and password. This user must have permission to read from Cacti's database or you will end up with an empty backup. Backup… Continue Reading
Install GUI ins Ubuntu Server Rumi, August 25, 2011 First you nee to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file once you have enable you need to use the following command to install GUI sudo apt-get update sudo apt-get install ubuntu-desktop The above command will install GNOME desktop If you wan to install a… Continue Reading
SCP in linux Rumi, July 27, 2011 In Unix, you can use the scp command to copy files and directories securely between remote hosts without starting an FTP session or logging into the remote systems explicitly. The scp command uses SSH to transfer data, so it requires a password or passphrase for authentication. Unlike rcp or FTP,… Continue Reading
How to enable automatic logon in Windows 2003 Advanced Server Rumi, July 20, 2011 Use Registry Editor (Regedt32.exe) to enable automatic logon Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the… Continue Reading
When i installed Debian, i forgot to install GNOME! How to install? Rumi, July 11, 2011 apt-get install x-window-system Once X installed proceed with gnome, following packages are minimum but gives you gnome gui based interface… so on it's easier to add other packages from synaptic. apt-get install gnome-core gdm synaptic Be careful on you /et/apt/source.list file- if the CDROm is un-commented then installation will begin… Continue Reading
.htaccess tips and tricks Rumi, July 9, 2011 Redirecits redirectpermanent /training/test.html http://www.example.com/learning/newtest.html Allow SSI FIles AddType text/html .shtml .shtm .htm .html AddHandler server-parsed .shtml .shtm .htm .html Parsing PHP in HTML RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html Allow or prevent directory browing IndexIgnore */* Options +Indexes Password Protection <Files secret_file.html> AuthType Basic AuthName "Team Page" AuthUserFile… Continue Reading
Public DNS Servers List Rumi, July 8, 2011 => Service provider: Google Google public dns server IP address: 8.8.8.8 8.8.4.4 => Service provider:Dnsadvantage Dnsadvantage free dns server list: 156.154.70.1 156.154.71.1 => Service provider:OpenDNS OpenDNS free dns server list / IP address: 208.67.222.222 208.67.220.220 => Service provider:Norton Norton free dns server list / IP address: 198.153.192.1 198.153.194.1 => Service… Continue Reading
Linux Rescue Mode, recovering from boot Rumi, July 2, 2011 When things go wrong, there are ways to fix problems. However, these methods require that you understand the system well. This chapter will describe the ways that you can boot into rescue mode and single user mode, where you can use your own knowledge to repair the system. What is… Continue Reading