Author: mikho

Owner of this site, swedish with a interest in educate both myself and others.

Watch your server logs with logwatch

Quick tip of a nice program for your Linux server: logwatch. this handy little program will parse your server logs and send you an email with the important details.   To install it on Debian, run this command with sudo…

Low memory usage SMTP Send-Only

Often when installing a web application or script you need an SMTP server to send email but rarely there is the need to recieve any email and on those occasions it is unnecessary to set up an full blown SMTP…

WordPress: grep the login attempts

After reading an article about WordPress security measures it got me wondering how I could see how many login attempts were made on this and other WordPress sites that I run. After a few minutes searching I decided to take…

Keep track of /etc with Etckeeper

You can insure yourself against accidentally changing your files using versioning. The technique can be used in many contexts, a good example that we will discuss below is the important configuration files for Linux Systems. Some programs have relatively small…

Installing WordPress using MINSTALL

In this guide we will go through howto install a basic wordpress site using Minstall to minimize the memory footprint by removing unnecessary services. I will be using a a OpenVZ vps with 256 mb RAM to show you the steps…

Add Users to the Sudoers List

When connecting to your VPS, you should never login as root, in fact, root logins with password authentication should be disabled. Instead you should mainly use a none-root account and elevate your access rights to root only when needed. By…