# Dosya Depolama Yapılandırması

Dosya depolama yapılandırması#

TheHive yerel veya dağıtılmış dosya sistemlerini kullanacak şekilde yapılandırılabilir.

**Local veya NFS :**

<div class="result-frame svelte-1a37brm" id="bkmrk-%C3%96zel-klas%C3%B6r-olu%C5%9Fturu">Özel klasör oluşturun; thehive:thehive kullanıcı ve grubuna ait olmalıdır.</div><div class="result-frame svelte-1a37brm" id="bkmrk-"></div>```
mkdir /opt/thp/thehive/files
chown thehive:thehive /opt/thp/thehive/files
```

<div class="result-frame svelte-1a37brm" id="bkmrk-thehive%27%C4%B1-uygun-%C5%9Feki">TheHive'ı uygun şekilde yapılandırın:</div><div class="result-frame svelte-1a37brm" id="bkmrk--1"></div>```
## Ek depolama yapılandırması
storage {
  ## Local filesystem
  provider: localfs
  localfs {
    location: /opt/thp/thehive/files
  }
}
```

<div class="result-frame svelte-1a37brm" id="bkmrk-m%C4%B1n.io%3A">**Mın.IO:**  
</div>1. Min.IO kümesi yükleme
2. TheHive'ın her bir düğümünü uygun şekilde yapılandırın.

<div class="highlight" id="bkmrk-%2Fetc%2Fthehive%2Fapplica">*<span class="filename">/etc/thehive/application.conf with TheHive 5.0.x</span>*</div><div class="highlight" id="bkmrk--2"></div>```
## Attachment storage configuration
storage {
  provider: s3
  s3 {
    bucket = "thehive"
    readTimeout = 1 minute
    writeTimeout = 1 minute
    chunkSize = 1 MB
    endpoint = "http://<IP_MINIO_1>:9100"
    accessKey = "thehive"
    secretKey = "password"
    region = "us-east-1"
  }
}
alpakka.s3.access-style = path

```

<div class="highlight" id="bkmrk-%2Fetc%2Fthehive%2Fapplica-1">*<span class="filename">/etc/thehive/application.conf with TheHive &gt; 5.0</span>*</div><div class="highlight" id="bkmrk--3"></div>```
storage {
  provider: s3
  s3 {
    bucket = "thehive"
    readTimeout = 1 minute
    writeTimeout = 1 minute
    chunkSize = 1 MB
    endpoint = "http://<IP_MINIO_1>:9100"
    accessKey = "thehive"
    aws.credentials.provider = "static"
    aws.credentials.secret-access-key = "password"
    access-style = path
    aws.region.provider = "static"
    aws.region.default-region = "us-east-1"
  }
}

```

<div class="highlight" id="bkmrk-yap%C4%B1land%C4%B1rma-geriye-">- Yapılandırma geriye dönük uyumludur
- MinIO yapılandırmasında hiçbiri belirtilmemişse us-east-1 varsayılan bölgedir. Bu durumda, bu parametre isteğe bağlıdır.

</div><div class="result-frame svelte-1a37brm" id="bkmrk--4"></div><div class="result-frame svelte-1a37brm" id="bkmrk--5"></div>