From bb48d9f512f79a34d24f837c9f1ca437b7c4cc0c Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 10 May 2021 17:19:36 +0200 Subject: [PATCH] Add 'Solr' --- Solr.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Solr.md diff --git a/Solr.md b/Solr.md new file mode 100644 index 0000000..157cd04 --- /dev/null +++ b/Solr.md @@ -0,0 +1,23 @@ +https://gitlab.com/Daniel-KM/Omeka-S-module-SearchSolr#solr-install + +``` +lxc-create -n solr -t debian +lxc-start -n solr +lxc-attach -n solr +apt-get update +apt-get install wget +cd /opt +wget https://archive.apache.org/dist/lucene/solr/8.8.0/solr-8.8.0.tgz +tar zxvf solr-8.8.0.tgz solr-8.8.0/bin/install_solr_service.sh --strip-components=2 +bash ./install_solr_service.sh solr-8.8.0.tgz +rm solr-8.8.0.tgz +rm install_solr_service.sh +``` + +``` +sudo systemctl status solr +sudo systemctl stop solr +sudo systemctl start solr +``` + +