Setting up Webmin and Virtualmin for web hosting (on odroid or any ARM platform) using Debian

If your hosting your own website than the combination of webmin and virtualmin is a boon. Even for development purposes its great. The virtualmin install script for a freshly installed "supported" platform runs flawlessy. But for every other system you have to do the drill manually.

Intrusion detection Setup with AIDE (Advanced Intrusion Detection Environment)

So after my server was compromised by the shell shock vulnerability, I had no way of knowing what was compromised. What follows next is way to find what has changed on your system/server when you are compromised.

My Drupal Blog Web Server Optimization - Part 3

So it was time to do something about the sluggish feel of my blog without resorting to memcache modules and so on yet. Looking at the state of availiable options, following are the modules I decided to go for.

JavaScript callback handler

Adding Recent Visitor Locations Map to Drupal

So the next thing my blog needed was map showing the location of my visitors. There should be a module for that in drupal and sure enough I found a few of them. The only module that seems directly related to what I wanted was "Visitor Info" but that required registration at a provider. So the search continued. Next I found ip_geoloc, support for it looked great. It looked like it spoke with a lot of other modules. And most importantly the 4th thumbnail was exactly what I wanted.

My Web Server/Drupal installation backup strategy with backupninja

So in this article I'll show you an example of backup that I employ for my server. I have been using a manual approach for a long time (which I'll hint at towards the end) but now I have switched in favor of an automated option. You will see that on my odroid u2 server, I have attached a usb stick. This is where my backups are created.

Java keytool command references

Here are some commands I just found lying around that I once used when working with SSL enablement for a product. I think they should be useful examples for some one wanting to work with the keytool. So decided to just put these out there simply.

First a quick quotation from Oracle Java what the keyool is and does from their doc page here. ( I have linked to java se 6 docu as I believe that is what I actually used for the example commands ) :

Standalone Weblogic Server failing to start on Linux - cannot open file errors

Sometimes when doing remote debugging using a standalone Weblogic Server domain on linux, you need to shutdow the server and it doesn't shutdown cleanly. Or you might need to kill the server. After this when you restart the server you get into the situation that you see the follwoing type of errors and server does not come up:

Ban if you haven't already with Fail2Ban

If your server is public facing, than its going to be attacked in every possible way. Doing something on my server, I noticed I have rotated "auth.log" files over 33MB large unzipped. Ok thats a little too much. I tailed the current file and what do I see :

Introducing Apache Flume

So if you have been following my Big Data series till now, in my first article I introduced to a ready made VM image courtesy of Oracle that frees you up from the head-aches of setting things up and concentrate your time on real learning. Next article I took you on a ride with Hadoop and the primary learning point of the article HDFS (the Hadoop File system). Now we will talk about a next often used component of Big Data, Apache Flume.

Post Shell Shock - Tightening up Apache Security with mod_security and mod_evasive

Without a shadow of a doubt the Shockwell vulnerablity compromised my system. The say correctly, security should never be an after thought, although in my case, I had put it off for a bit. Maybe a correctly secured Apache configuration might have saved me, but not so sure about that anyways. Anyways the below count of strange user agents appeared in my log for the month of October. I surrounded the dots with square brackets to avoid any of you accidently clicking the below link. Out of curiosity, even I tried a wget on the url but go nothing.

Pages

Subscribe to Ahsan's Corner RSS