Skip to content

Commit a77ca33

Browse files
authored
Fixes #749 & #750 - ES: fix certificate import command; remove network config from instructions
1 parent 008d631 commit a77ca33

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

install/elasticsearch/connect-configure-elasticsearch.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Add certificate to Zammad (Elasticsearch 8 and newer)
5858

5959
.. code-block:: console
6060
61-
$ sudo cat /etc/elasticsearch/certs/http_ca.crt | zammad run rails r "SSLCertificate.create!(certificate: STDIN.read)"
61+
$ sudo cat /etc/elasticsearch/certs/http_ca.crt | zammad run rails r 'SSLCertificate.create!(certificate: STDIN.read)'
6262
6363
Add it via **UI**:
6464
In case you already have a running and configured Zammad, you can add the

install/elasticsearch/install-elasticsearch-9.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Add the Repository
7474
.. tab:: CentOS/RHEL
7575

7676
Create the file ``/etc/yum.repos.d/elasticsearch.repo`` and add:
77-
77+
7878
.. code-block:: text
7979
8080
[elasticsearch]
@@ -127,20 +127,20 @@ Install Elasticsearch
127127
Configuration
128128
-------------
129129

130-
Open ``/etc/elasticsearch/elasticsearch.yml`` and adjust/uncomment the
131-
following values:
132-
133-
.. code-block:: yaml
130+
Optionally, check and configure Elasticsearch's configuration file which you can
131+
find under ``/etc/elasticsearch/elasticsearch.yml``.
134132

135-
network.host: 0.0.0.0
136-
transport.host: 0.0.0.0
137-
138-
Optional to increase the maximum context size to index:
133+
We recommend to adjust the maximum context size which should get indexed
134+
by Elasticsearch. Adjust it to a reasonable size like in the example:
139135

140136
.. code-block:: yaml
141137
142138
http.max_content_length: 400mb
143139
140+
Additional configuration is out of scope of this documentation. In case your
141+
scenario needs additional configuration, have a look at
142+
`Elastic's configuration reference <https://www.elastic.co/docs/reference/elasticsearch/configuration-reference>`_.
143+
144144
Start and Enable Elasticsearch
145145
------------------------------
146146

0 commit comments

Comments
 (0)