forked from teja302/intellipaat-jan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathELK-notes
42 lines (38 loc) · 1.1 KB
/
ELK-notes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
https://www.elastic.co/elastic-stack/
https://www.elastic.co/beats/
https://www.elastic.co/what-is/kibana-alerting
https://www.elastic.co/guide/index.html
ELK Setup
https://github.com/raushan8586/ELKExample
Commands
root@ip-172-31-5-129:~/ELKExample# history
1 apt update -y
2 apt install docker.io -y
3 apt install docker-compose -y
4 docker version
5 docker-compose version
6 sysctl -w vm.max_map_count=262144
7 git clone https://github.com/raushan8586/ELKExample.git
8 ls -l
9 cd ELKExample/
10 ls -l
11 cat docker-compose.yml
12 vi docker-compose.yml
13 docker-compose up -d
14 vi docker-compose.yml
15 docker-compose up -d
16 vi docker-compose.yml
17 rm docker-compose.yml
18 vi docker-compose.yml
19 docker-compose up -d
20 docker ps
21 docker exec -it dc1a33801292 /bin/bash
22 docker ps
23 docker exec -it af811d7a77ee /bin/bash
24 docker-compose down
25 vi docker-compose.yml
26 docker-compose up -d
27 docker ps
28 docker run -itd -p 82:80 httpd
29 cat docker-compose.yml
30 history