Extract unique IP address from Apache & Nginx log file
Lets say you wanted to count the number of unique IP addresses hitting your Apache server. It’s very easy to do in a Linux (or compatible) shell. In this tutorial,…
Lets say you wanted to count the number of unique IP addresses hitting your Apache server. It’s very easy to do in a Linux (or compatible) shell. In this tutorial,…
ssh-copy-id has known problems with handling non-standard ports. For example if you try to connect with different port than 22 e.g. 1337. To overcome this issue, you should use a…
Hi all, I guess most of you have seen the new IOS 7 that recently released at WWDC 2013. So today, for Malaysian people who can’t wait to test the…
If you encounter this kind of error SMTP error 535 Authentication Failed while sending an email from Roundcube Webmail, then you can check the following things. The error that probably…
Have you encountered this kind of problem when using VirtualBox on Ubuntu? Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is…
If you are on Apache(mod_rewrite), WordPress will automatically add the required rewrite rules to your .htaccess file for permalinks to work. Just add code generated by WordPress in .htaccess, and…
DenyHosts is a security tool written in python that monitors server access logs to prevent brute force attacks on a virtual private server. The program works by banning IP addresses…
1. Edit you bind & dns configInsert this to db.domain.net blog IN CNAME domain.net. 2. Edit /etc/nginx/sites-available/defaultAdd this: server { listen 80; root /usr/share/nginx/www; index index.php index.html index.htm; server_name domain.net;}…
This error is caused by problems in your hosts.deny. If you installed all the recommended packages in Ubuntu, you’ll most likely have Denyhosts. If not, /etc/hosts.deny won’t exist, thus this…
If you ssh to your server using Terminal or iTerm, have you ever encountered this kind of problem?If you do, here I give you a solution (maybe a solution. it…