Setup s3fs » Historie » Version 1
Jeremias Keihsler, 25.01.2022 10:22
| 1 | 1 | Jeremias Keihsler | h1. Setup s3fs |
|---|---|---|---|
| 2 | |||
| 3 | h2. Requirements |
||
| 4 | |||
| 5 | To configure ssh you will need the following: |
||
| 6 | * a installed and supported operating system (e.g. CentOS 8.x) |
||
| 7 | * root-access |
||
| 8 | * a fast internet connection |
||
| 9 | |||
| 10 | h2. Preliminary Note |
||
| 11 | |||
| 12 | Some basic information may be found at |
||
| 13 | * https://github.com/s3fs-fuse/s3fs-fuse |
||
| 14 | |||
| 15 | h2. Install s3fs |
||
| 16 | |||
| 17 | <pre><code class="bash"> |
||
| 18 | dnf install s3fs-fuse |
||
| 19 | </code></pre> |
||
| 20 | |||
| 21 | h2. Configure s3fs |
||
| 22 | |||
| 23 | create password-file |
||
| 24 | |||
| 25 | <pre><code class="shell"> |
||
| 26 | echo ACCESS_KEY_ID:SECRET_ACCESS_KEY > /etc/passwd-s3fs |
||
| 27 | chmod 600 /etc/passwd-s3fs |
||
| 28 | </code></pre> |
||
| 29 | |||
| 30 | h2. mount FS |
||
| 31 | |||
| 32 | <pre><code class="shell"> |
||
| 33 | s3fs bucket-name mnt/s3/ -o passwd_file=etc/passwd-s3fs -o url=https://s3.choose-open.cloud/ -o use_path_request_style |
||
| 34 | </code></pre> |