diff --git a/templates/template05-elasticsearch/Readme.md b/templates/template05-elasticsearch/Readme.md index d79e2f0..8bd721a 100644 --- a/templates/template05-elasticsearch/Readme.md +++ b/templates/template05-elasticsearch/Readme.md @@ -1,19 +1,22 @@ -### Keycloak server +### ElasticSearch server #### Setup * Assuming that the copy of the template is called `elasticsearch-instance`, move to folder `elasticsearch-instance`. * Check the content of folder `artifacts` +| :zap: As of June 2022, Nextcloud FullTextSearch requires ElasticSearch 7, it's not compatible with ElasticSearch 8| +|----------------------------------------------------------------------------------------------------| + + |File name | Description| | --- | --- | -| `elasticsearch-${ELASTICSEARCH_VERSION}-amd64.deb` | Debian archive for version 7.14 to be downloaded from [here](https://www.elastic.co/guide/en/elasticsearch/reference/7.14/deb.html#install-deb) | +| `elasticsearch-${ELASTICSEARCH_VERSION}-amd64.deb` | The Debian DEB archive can be downloaded from [here](https://www.elastic.co/downloads/past-releases#elasticsearch) | | `memory.options` | Limit the total memory assigned to the JVM | | `elasticsearch.yml` | ElasticSearch core configuration file | * Create folder `log` -* Open `Vagrantfile` and change the value of variable `lxd.name`. It makes sense to give the same name as the folder, in this example `elasticsearch-instance`. Also as Elastic Search is resource-intensive you may want to create a dedicated LXD profile and -assign the container to that profile (property `lxd.profiles`) +* Open `Vagrantfile` and change the value of variable `lxd.name`. It makes sense to give the same name as the folder, in this example `elasticsearch-instance`. Also as Elastic Search is resource-intensive you may want to create a dedicated LXD profile and assign the container to that profile (property `lxd.profiles`) * Open `provision.sh` and change the value of variable `MACHINE_HOSTNAME` and `ELASTICSEARCH_VERSION`. It makes sense to give the same name as the folder, plus the domain, in this example `elasticsearch-instance.localenv.com`. * Run `vagrant up > log/provisioning.log` * Make sure your system is able to resolve the domain name that you specified in variable `MACHINE_HOSTNAME`, for example by adding an entry in `/etc/hosts` diff --git a/templates/template05-elasticsearch/provision.sh b/templates/template05-elasticsearch/provision.sh index 29aa586..060e24c 100644 --- a/templates/template05-elasticsearch/provision.sh +++ b/templates/template05-elasticsearch/provision.sh @@ -11,7 +11,7 @@ # Fully Qualified Name: ex. "es-server.localenv.com" MACHINE_HOSTNAME= -# ElasticSearch version to be installed: ex. 8.1.0" +# ElasticSearch version to be installed (format X.Y.Z)" ELASTICSEARCH_VERSION= #### The user must fill these variables - END