And to install LUI Solr:
$ cd ..
$ sudo dpkg -i masterkey-lui-solr5_*.indexdata_all.deb
+ OR
+$ sudo dpkg -i masterkey-lui-solr6_*.indexdata_all.deb
Package: masterkey-lui-solr5
Architecture: all
-Depends: openjdk-7-jdk, ${misc:Depends}
+Depends: openjdk-7-jdk | openjdk-8-jdk, ${misc:Depends}
Conflicts: masterkey-lui-solr4-common, masterkey-lui-solr4-master, masterkey-lui-solr4-slave, masterkey-lui-solr4-zookeeper, masterkey-lui-solr4-common-tomcat6, masterkey-lui-solr4-master-tomcat6, masterkey-lui-solr4-slave-tomcat6, masterkey-lui-solr4-common-tomcat8, masterkey-lui-solr4-master-tomcat8, masterkey-lui-solr4-slave-tomcat8
Replaces: masterkey-lui-solr4-common, masterkey-lui-solr4-master, masterkey-lui-solr4-slave, masterkey-lui-solr4-zookeeper, masterkey-lui-solr4-common-tomcat6, masterkey-lui-solr4-master-tomcat6, masterkey-lui-solr4-slave-tomcat6, masterkey-lui-solr4-common-tomcat8, masterkey-lui-solr4-master-tomcat8, masterkey-lui-solr4-slave-tomcat8
Description: Local Unified Index (Solr)
The Local Unified Index is a index that contains multiple logical indexes
(subdatabases). The underlying index is a Solr/Lucene 5 index configured
to use a specific LUI schema.
+
+Package: masterkey-lui-solr6
+Architecture: all
+Depends: openjdk-8-jdk, ${misc:Depends}
+Conflicts: masterkey-lui-solr4-common, masterkey-lui-solr4-master, masterkey-lui-solr4-slave, masterkey-lui-solr4-zookeeper, masterkey-lui-solr4-common-tomcat6, masterkey-lui-solr4-master-tomcat6, masterkey-lui-solr4-slave-tomcat6, masterkey-lui-solr4-common-tomcat8, masterkey-lui-solr4-master-tomcat8, masterkey-lui-solr4-slave-tomcat8, masterkey-lui-solr5
+Replaces: masterkey-lui-solr4-common, masterkey-lui-solr4-master, masterkey-lui-solr4-slave, masterkey-lui-solr4-zookeeper, masterkey-lui-solr4-common-tomcat6, masterkey-lui-solr4-master-tomcat6, masterkey-lui-solr4-slave-tomcat6, masterkey-lui-solr4-common-tomcat8, masterkey-lui-solr4-master-tomcat8, masterkey-lui-solr4-slave-tomcat8, masterkey-lui-solr5
+Description: Local Unified Index (Solr)
+ The Local Unified Index is a index that contains multiple logical indexes
+ (subdatabases). The underlying index is a Solr/Lucene 6 index configured
+ to use a specific LUI schema.
+++ /dev/null
-etc/masterkey/lui/solr/lui-solr.in.sh etc/default/lui-solr.in.sh
\ No newline at end of file
--- /dev/null
+etc/masterkey/lui/solr/lui-solr.in.sh etc/default/lui-solr.in.sh
\ No newline at end of file
--- /dev/null
+#!/bin/sh -e
+
+case "$1" in
+ purge|remove)
+ # Remove Solr installation
+ rm -f /usr/share/masterkey/lui/lui-solr
+ rm -rf /usr/share/masterkey/lui/solr-*
+ ;;
+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+esac
+
+exit 0
--- /dev/null
+#!/bin/sh -e
+
+case "$1" in
+ remove|upgrade|remove|deconfigure)
+ # Stop lui-solr service
+ if [ -x "/etc/init.d/lui-solr" ]; then
+ invoke-rc.d lui-solr stop || exit $?
+ fi
+
+ ;;
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+esac
+
+exit 0
--- /dev/null
+etc/default
+usr/share/masterkey/lui/dist
+usr/share/doc/masterkey-lui-solr6
+etc/masterkey/lui/solr
+var/log/masterkey/lui
+var/lib/masterkey/lui/solr/lui
--- /dev/null
+dist/solr-6*.tgz usr/share/masterkey/lui/dist
+dist/install_solr6_service.sh usr/share/masterkey/lui/dist
+conf/solr/* etc/masterkey/lui/solr
+doc/apache-solr-ref-guide-6*.pdf usr/share/doc/masterkey-lui-solr6
+doc/debian-install.md usr/share/doc/masterkey-lui-solr6
+doc/upgrade.md usr/share/doc/masterkey-lui-solr6
--- /dev/null
+etc/masterkey/lui/solr/lui-solr.in.sh etc/default/lui-solr.in.sh
\ No newline at end of file
--- /dev/null
+#!/bin/sh -e
+
+case "$1" in
+ configure|upgrade)
+ # Create the solr user
+ adduser --system --shell /bin/bash --group --disabled-password --home /var/lib/masterkey/lui lui-solr
+ # Set directory permissions
+ chown -R lui-solr /var/lib/masterkey/lui
+ chown -R lui-solr /var/log/masterkey/lui
+ chown -R lui-solr /etc/masterkey/lui/solr/solr-home
+ # Run Solr installation script
+ /usr/share/masterkey/lui/dist/install_solr6_service.sh /usr/share/masterkey/lui/dist/solr-6.1.0.tgz -d /var/lib/masterkey/lui -i /usr/share/masterkey/lui -s lui-solr -u lui-solr -f
+ # Remove extra files created by Solr installation
+ rm -f /var/lib/masterkey/lui/log4j.properties
+ rm -rf /var/lib/masterkey/lui/logs
+ rm -rf /var/lib/masterkey/lui/data
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument '$1'" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
--- /dev/null
+#!/bin/sh -e
+
+case "$1" in
+ purge|remove)
+ # Remove Solr installation
+ rm -f /usr/share/masterkey/lui/lui-solr
+ rm -rf /usr/share/masterkey/lui/solr-*
+ ;;
+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+esac
+
+exit 0
--- /dev/null
+#!/bin/sh -e
+
+case "$1" in
+ remove|upgrade|remove|deconfigure)
+ # Stop lui-solr service
+ if [ -x "/etc/init.d/lui-solr" ]; then
+ invoke-rc.d lui-solr stop || exit $?
+ fi
+
+ ;;
+ failed-upgrade)
+ ;;
+
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+esac
+
+exit 0
+++ /dev/null
-#!/bin/sh -e
-
-case "$1" in
- purge|remove)
- # Remove Solr installation
- rm -f /usr/share/masterkey/lui/lui-solr
- rm -rf /usr/share/masterkey/lui/solr-*
- ;;
- upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
-esac
-
-exit 0