Solr has taken great strides with making it simpler for clients to install
and start using solr as a service, the install_solr_service.sh file is
quite handy for a brand new install. Unfortunately, the use of that script
is really a one time deal and won't let you use it for Solr upgrades nor
does it provide any cleanup mechanisms. In steps the RPM and DEB package
managers to make it even simpler for users to install/upgrade/remove
packages from their system. I went ahead and created an RPM & DEB builder
that mimics what the install_solr_service.sh does to generate the packages
(package builder can be run on any machine with Java installed), you can
check it out here: https://github.com/sdavids13/solr-os-packager. The
build.gradle
<https://github.com/sdavids13/solr-os-packager/blob/master/build.gradle>
file is the one orchestrating the package building (using Netflix's
gradle-ospackage-plguin), for instructions to build and test checkout the
README <https://github.com/sdavids13/solr-os-packager/blob/master/README.md>
.

Does anyone have any thoughts on the possibility of distributing said RPM
and DEB packages for new Solr code drops?

-Steve

Reply via email to