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 +```