RHEL6: Apache Solr
-
Enable the rhel-x86_64-server-supplementary-6 RHN channel. This is where the java-1.6.0-sun packages reside, which work much better than openjdk.
rhn-channel -a -c rhel-x86_64-server-supplementary-6 -u $RHN_USERNAME -p $RHN_PASSWORD
-
Install java and tomcat, then make sure tomcat starts on boot
yum install java-1.6.0-sun tomcat6 chkconfig tomcat6 on