You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -69,22 +66,22 @@ This guide assumes that you are comfortable working from the Linux command line
69
66
sudo systemctl status opensearch
70
67
```
71
68
72
-
### Install OpenSearch from a local YUM repository
69
+
### Install OpenSearch from a YUM repository
73
70
74
71
YUM, the primary package management tool for Red Hat–based operating systems, allows you to download and install the RPM package from the YUM repository.
1. Verify that the repository was created successfully.
81
-
```bash
82
-
sudo yum repolist
83
-
```
84
77
1. Clean your YUM cache to ensure a smooth installation:
85
78
```bash
86
79
sudo yum clean all
87
80
```
81
+
1. Verify that the repository was created successfully.
82
+
```bash
83
+
sudo yum repolist
84
+
```
88
85
1. With the repository file downloaded, list all available versions of OpenSearch:
89
86
```bash
90
87
sudo yum list opensearch --showduplicates
@@ -112,31 +109,7 @@ YUM, the primary package management tool for Red Hat–based operating systems,
112
109
sudo systemctl status opensearch
113
110
```
114
111
115
-
## Step 2: Configure important system settings
116
-
117
-
Before launching OpenSearch you should review some [important system settings]({{site.url}}{{site.baseurl}}/opensearch/install/important-settings/){:target='\_blank'}.
118
-
1. Disable memory paging and swapping performance on the host to improve performance.
119
-
```bash
120
-
sudo swapoff -a
121
-
```
122
-
1. Increase the number of memory maps available to OpenSearch.
123
-
```bash
124
-
# Edit the sysctl config file
125
-
sudo vi /etc/sysctl.conf
126
-
127
-
# Add a line to define the desired value
128
-
# or change the value if the key exists,
129
-
# and then save your changes.
130
-
vm.max_map_count=262144
131
-
132
-
# Reload the kernel parameters using sysctl
133
-
sudo sysctl -p
134
-
135
-
# Verify that the change was applied by checking the value
136
-
cat /proc/sys/vm/max_map_count
137
-
```
138
-
139
-
## Step 3: (Optional) Test OpenSearch
112
+
## Step 2: (Optional) Test OpenSearch
140
113
141
114
Before proceeding with any configuration, you should test your installation of OpenSearch. Otherwise, it can be difficult to determine whether future problems are due to installation issues or custom settings you applied after installation.
142
115
@@ -195,7 +168,7 @@ An OpenSearch node in its default configuration (with demo certificates and user
195
168
hostname opensearch-sql 2.1.0.0
196
169
```
197
170
198
-
## Step 4: Set up OpenSearch in your environment
171
+
## Step 3: Set up OpenSearch in your environment
199
172
200
173
Users who do not have prior experience with OpenSearch may want a list of recommended settings in order to get started with the service. By default, OpenSearch is not bound to a network interface and cannot be reached by external hosts. Additionally, security settings are populated by default user names and passwords. The following recommendations will enable a user to bind OpenSearch to a network interface, create and sign TLS certificates, and configure basic authentication.
0 commit comments