From 7b544b509705fd690f111e0b01587841f2354df6 Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 9 Jan 2023 18:14:26 +0900 Subject: [PATCH] =?UTF-8?q?Docs:=20=ED=8F=B4=EB=8D=94=EA=B5=AC=EC=A1=B0,?= =?UTF-8?q?=20=EC=A3=BC=EC=9D=98=EC=82=AC=ED=95=AD,=20=EB=AA=85=EB=A0=B9?= =?UTF-8?q?=EC=A4=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c330350..0ea1750 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,59 @@ # ELK-OSS Docker-Compose -ELK-OSS Docker-Compose +``` +. +├── docker-compose.yml +├── elasticsearch +│ └── config +│ └── elasticsearch.yml +├── filebeat +│ └── config +│ └── filebeat.yml +├── kibana +│ └── config +│ └── kibana.yml +├── LICENSE +├── logstash +│ ├── config +│ │ └── logstash.yml +│ └── pipeline +│ └── logstash.conf +└── README.md +``` + + +Data 폴더 생성 +> 컨테이너 실행시에 `elasticsearch/data` 폴더가 생성되긴 하지만, elasticsearch가 죽어버림 +> 77* 권한이 필요하기때문에 애초페 폴더를 만들고서 권한 까지 바꿔주자 +```bash +mkdir elasticsearch/data && sudo chmod 770 elasticsearch/data +``` + +```bash +# gerneral docker compose +docker-compose up -d +# installed docker-compose-plugin +docker compose up -d +# using podman-compose +podman-compose up -d +``` + +# without container + +압축파일 다운 및 압축해제 + +```bash +wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.3.1-linux-x86_64.tar.gz +tar -xvf elasticsearch-oss-7.3.1-linux-x86_64.tar.gz +``` + +실행 + +```bash +cd elasticsearch-oss-7.3.1-linux-x86_64 +bin/elasticsearch + +# daemonizer +bin/elasticsearch -d +```