Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've seen only one or two tutorials for installing Solr, and particularly Java, on a CentOS machine, and they seem to be overly complex; heck, I can't quite figure out which version of Java (it seems there are many) to install... I'm not a full time sysadmin, so I would like to know what Java version/package I would need to use, and if there's a good tutorial with relatively easy to follow steps for installation.

I'm going to try to get Solr working with some Drupal sites, and that part of the equation doesn't seem as hard as the Java side...

share|improve this question
Which version of CentOS? 5.3+ ships OpenJDK which should be more than sufficient, 4.x require you install a Sun JRE/JDK – Ophidian Mar 4 '10 at 13:52
up vote 2 down vote accepted

I found a great tutorial after another half hour's Google searching:

I encountered the same small gotcha that the last commenter encountered (a huge, unweildy filename), but I changed it to simply the .bin name, ran it, and followed the rest of the tutorial for release 17, 32-bit i586 version, and it's running splendidly. Now, I'll be working on getting Solr up and running.

share|improve this answer
Excellent tutorial. Good job finding that link. – djangofan Apr 25 '12 at 20:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.