Upgrading from Debian Squeeze to Debian Wheezy

May 14th, 2013

Debian LogoThe latest Debian stable version named Wheezy was recently released. It is possible to upgrade from Squeeze to Wheezy without reinstalling the operating system from scratch. Let’s look at how that can be done.

Read more »»

Localhost as remote host in Apache log file

May 14th, 2013

ApacheI recently noticed something weird in my Apache access log files. There were entries like this:

abdussamad.com:80 localhost - - [09/May/2013:14:26:47 +0500] "POST /wp-login.php HTTP/1.0" 200 3784 "abdussamad.com/wp-login.php" "Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0"

Now the second column above is supposed to contain the remote host that made this request i.e. the user’s computer. But here it is shown as localhost. One possibility is that the requests originated on my server but I ruled that out. So how is this possible?

Read more »»

How to Find Linux Distribution and Linux Kernel Information

April 16th, 2013

LinuxFind out information about your Linux distribution, such as version, vendor and kernel version and architecture, using the Linux command line.

Read more »»

Stop Brute Force WordPress Login Attempts with Fail2Ban

March 5th, 2013

WordPress LogoWordPress is the most popular content management system for websites and as a result it attracts a lot of automated attempts at brute force login. Blocking such bots before they get very far is the topic of this post.
Read more »»

Debian Linux: Setting the timezone and synchronizing time with NTP

February 9th, 2013

Debian LogoI have previously written about setting the time and timezone in CentOS. Setting the timezone is much easier in Debian.

Read more »»