Linux, Solr

Install Solr 5 and Zookeeper in a production environment

Recently I had to set up three Solr servers in an AWS environment. I couldn’t find anything specific to help me, so had to locate all the information separately. Hopefully the following may be of use to anyone who has to go through the same. In my situation, I have 3 servers that will sit behind a load balancer. The following describes how I set up each server.

Initially I thought it best to update all packages on each Amazon Linux AMI. I was using a green field environment. You might not be in that situation, so may not want to do the following.

sudo yum clean all
sudo yum update

Solr 5 requires a newer version of Java that was pre-installed on the server. So we need to obtained an updated Java package, and select it as the default version.

sudo yum install java-1.7.0-openjdk
sudo alternatives --config java

Continue reading

Linux

Linux Mint 5 Elyssa

I’ve been using Ubuntu for the past couple of years now, and have found it a perfectly viable alternative to Windows.  As I mentioned in my very first post, I’m not a Linux zealot taking a political stance.  It’s just a simple preference.  If I was a zealot I’d be using a distribution like Gentoo, Slackware, or Linux From Scatch.  One for the hard nuts, I just want something that works on my five year old laptop.  I’m too tight to upgrade, so that rules out Vista.  Now there’s an OS that drives Linux fundamentalism.

In an attempt to challenge my OS of choice, but still keeping within my Ubuntu comfort zone, I installed Linux Mint last week.  Once slated as just a friendly, sexier version of Ubuntu, it now seems to be gaining in popularity.

Mint: Desktop

I’m very impressed.  I installed the OS, development IDE (Eclipse based Aptana), Apache, PHP, MySQL, and had the development version of this site up and running within a couple of hours.  No messing around getting Flash, RealPlayer, and various audio/video codecs running.  Anything I did need to install was a simple apt-get away in the Ubuntu repositories.
Continue reading