Skip to content

Commit ac4aa83

Browse files
committed
Added setup instructions for version 8.x
1 parent fadb7e9 commit ac4aa83

4 files changed

+86
-54
lines changed

installing-kibana-on-macos-and-linux.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

installing-kibana-on-windows.md

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Setting up Elasticsearch & Kibana on macOS & Linux
2+
3+
## Extracting the archives
4+
5+
Both the Elasticsearch and Kibana archives can be extracted by using the below commands.
6+
Alternatively, simply double-clicking them should do the trick.
7+
8+
```
9+
cd /path/to/archive/directory
10+
tar -zxf archive.tar.gz
11+
```
12+
13+
## Starting up Elasticsearch
14+
15+
```
16+
cd /path/to/elasticsearch
17+
bin/elasticsearch
18+
```
19+
20+
## Resetting the `elastic` user's password
21+
22+
If you lose the password for the `elastic` user, it can be reset with the following commands.
23+
24+
```
25+
cd /path/to/elasticsearch
26+
bin/elasticsearch-reset-password -u elastic
27+
```
28+
29+
## Generating a new Kibana enrollment token
30+
31+
If you need to generate a new enrollment token for Kibana, this can be done with the following commands.
32+
33+
```
34+
cd /path/to/elasticsearch
35+
bin/elasticsearch-create-enrollment-token --scope kibana
36+
```
37+
38+
## Disabling Gatekeeper for Kibana directory
39+
40+
macOS contains a security feature named Gatekeeper, which prevents Kibana from starting up.
41+
We can disable it for just the Kibana directory, which allows Kibana to start up correctly.
42+
Simply use the following command to do so.
43+
44+
```
45+
xattr -d -r com.apple.quarantine /path/to/kibana
46+
```
47+
48+
## Starting up Kibana
49+
50+
```
51+
cd /path/to/kibana
52+
bin/kibana
53+
```
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Setting up Elasticsearch & Kibana on Windows
2+
3+
## Starting up Elasticsearch
4+
5+
```
6+
cd path\to\elasticsearch
7+
bin\elasticsearch.bat
8+
```
9+
10+
## Resetting the `elastic` user's password
11+
12+
If you lose the password for the `elastic` user, it can be reset with the following commands.
13+
14+
```
15+
cd path\to\elasticsearch
16+
bin\elasticsearch-reset-password.bat -u elastic
17+
```
18+
19+
## Generating a new Kibana enrollment token
20+
21+
If you need to generate a new enrollment token for Kibana, this can be done with the following commands.
22+
23+
```
24+
cd path\to\elasticsearch
25+
bin\elasticsearch-create-enrollment-token.bat -s kibana
26+
```
27+
28+
## Starting up Kibana
29+
30+
```
31+
cd path\to\kibana
32+
bin\kibana.bat
33+
```

0 commit comments

Comments
 (0)