I have had mixed success installing Solr via aptitude as the latest stable version in the apt repo seems to be 1.7. What is the best way of installing Solr via aptitude or other means which does not require java experience? I can't seem to find any method of installing Jetty on RHEL or CentOs via yum, either.
Edit
Updated to allow for multi-distribution feedback. Appreciate any advice you can lend.
Best Answer
On Debian/Ubuntu
The most straightforward installation is pretty easy using
tomcat
and your package manager. The dependencies will be met automatically.On CentOS/RedHat
You need to grab some alternative repo's to make this possible
Eg.
Then you can install the package from
yum
Now it gets a little trickier. Sun used to permit direct downloads; but they now have a stupid session validation in place - so download the binary via your PC and upload it to the machine.
You need both the Linux JDK and JRE.
The commands would have been:
You can alternatively use OpenJDK
Once you've uploaded the binaries
Then the remaining steps
Then drop in your respective selection of
solr
Then add the Magento
solr
configurationThen set up the cores
Then finally, clean up permissions and restart
solr
Then in Magento, you've now got 3 possible independent cores you can use for your store environments.
staging/solr
development/solr
live/solr
Attribution: http://www.sonassi.com/knowledge-base/multiple-solr-cores-for-magento-on-debianubuntucentosredhat/