Day in my life


Dec 17

Migrating Sonatype Nexus 1.9.2 to 2.7.x

Below is my experience of migrating the nexus 1.9.2 to 2.7.0, this is my personal instance of nexus and if you are planning to do this on production environment take more caution. Nexus had moved on a lot from the last version I had installed. I was forced to look at the migration as the Nexus wasn’t starting after the target box was upgraded to Java 1.7 from 1.6. I went through this link on …


Oct 20

XFCE on Debian

I have been a Debian user for more than 10 years now and like many others linux/alternative OS enthusiasts have tried, retried many other OSes and always return back to my Debian home. Below is my experience of setting up minimalistic desktop environment for productivity and ease of use. Disclaimer: I’m assuming following bits about the reader i.e. you’re good at or least comfortable …


Oct 12

Apache load balancer for Tomcat

This is a follow-up post to my earlier one apache and tomcat. You could read more about the Tomcat clustering here which describes a more detailed view of load balancing and persistent sessions with-in-memory session replication and so on. But in this post, I will discuss a basic load balancing solution with sample working solution. The mod_proxy module can also be used for load balancing but will …


Oct 12

Apache and Tomcat

Tomcat application server is good at serving dynamic content. Though it can serve static content too, it’s generally left to the Web servers to do the job as its lightweight and specialised. Hence most Java-based web application would generally involve Apache to serve static content while dynamic content is left to Tomcat. Integration between Apache and Tomcat can be done using the JK …



Aug 27

Apache in Debian based systems

Its been over 10 years now since, I started using Debian. I have got used to its organisation so much that I tear my hair often when I have to work with other distros. But I have to agree that its the same with guys from other side of fence. Hence I’m putting my understanding of how Debian Apache HTTPD or in package terms “apache2” is organised. This should be handy if you have …


Aug 5

Google Music from UK

I recently bought Nexus7 from Google Play. It’s an amazing tablet for the price. If you haven’t seen it yet, I would highly recommend you to give it a try. Google sell it as one stop device for all the content they offer online. But one thing thats missing for us on the other side of atlantic is the ability to use Google Music which is at the moment available only in US.


Jun 18

SSH session gets clogged/stuck

This happens to me all the time, when I’m connected over VPN or sometimes from outside network. If you are new to *nix world and using a headless terminal immediate reaction is ‘shit my system hung’. You wont notice this until you execute commands like tail, head, ls, emacs, vi etc… any if it trying to load a larger data set. Problem is not with the box you are on or the …


May 25

MacBook Pro and Debian key-map

I recently had to install Debian on VMware Fusion (a product similar to VirtualBox) for the work I was doing. Everything went smooth until I started using the command line. My favourite key on *nix world ‘THE PIPE’ wasn’t mapped correctly. It easy to correct and this is how its done. Install console-data package and configure the key-map with the right type. As I use MacBook Pro …


May 24

GeoIP mod and Named Virtual Hosts

Problem: I have a multi-site Apache web-server, hosting localised copies of the site for many countries. I would like customer visiting the site to be automatically re-directed to their country specific site. Something similar to google, where if you visit you will be re-directed to country specific site in my case it is Solution: As the heading says, I will be …


Apr 16

Managing mixed Debian packages using APT pinning

I use Debian “stable” as my primary Linux OS. Anyone using Debian stable would know getting the latest and greatest package you really need is bit of a nuisance. If you are in this situation i.e. looking to upgrade just a package from a different repository here is how to do it. APT pinning is a way to have a mixed package system (i.e. packages installed from different repositories) …


© Nataraj Basappa 2018