Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
1  
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
add comment

1 Answer

up vote 2 down vote accepted

I found a great tutorial after another half hour's Google searching: http://chrisschuld.com/2008/10/installing-sun-java-on-centos-5-2/

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
add comment

Your Answer

 
discard

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.