Configuring x11vnc securely on your server for remote access

So, you more than often need remote access to your web server. In my case my server is not even connected to anything but a network. So a VNC solution for me is a must. And new linux users are left scratching their heads when they come to linux from the windows world. But it doesn't need to be so complicated. Below is a cook-book recipe if you choose to follow it.

Setting up the Core Rule Sets for Apache mod_security

After just about a year of hosting, I can tell you, this is one module that you should not host any website without. But configuring the module itself is not enough, without the OWASP ModSecurity Core Rule Set (CRS), the module is pretty much useless.

Again, I'm using Debian, so both these modules are availiable from the debian repositories. You can install them as below:

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 :


Subscribe to Ahsan's Corner RSS