Differences
This shows you the differences between the selected revisions of the page.
2016-05-30 | 2016-05-30 | ||
the official documentation recommends _netdev (martin) | the official documentation recommends 600 (martin) | ||
Line 20: | Line 20: | ||
* Switch to ''root'': \\ ''sudo su'' | * Switch to ''root'': \\ ''sudo su'' | ||
- | * Store security credentials that will be used to access the S3 bucket to ''/etc/passwd-s3fs'': \\ ''echo <access-key-id>:<secret-access-key> > /etc/passwd-s3fs'' \\ ''chmod 640 /etc/passwd-s3fs'' \\ (Replace the ''<access-key-id>'' and ''<secret-access-key>'' with the actual values) | + | * Store security credentials that will be used to access the S3 bucket to ''/etc/passwd-s3fs'': \\ ''echo <access-key-id>:<secret-access-key> > /etc/passwd-s3fs'' \\ ''chmod 600 /etc/passwd-s3fs'' \\ (Replace the ''<access-key-id>'' and ''<secret-access-key>'' with the actual values) |
* Create mount point (example): \\ ''mkdir /mnt/<bucket>'' | * Create mount point (example): \\ ''mkdir /mnt/<bucket>'' | ||
* Add entry to ''[[&man_ref(5,fstab)|fstab]]'' to mount the bucket: \\ ''echo s3fs#<bucket> /mnt/<bucket> fuse _netdev,rw,nosuid,nodev,allow_other 0 0 %%>>%% /etc/fstab'' \\ (Replace the leading ''<bucket>'' with your bucket name and the ''/mnt/<bucket>'' with the mount point) | * Add entry to ''[[&man_ref(5,fstab)|fstab]]'' to mount the bucket: \\ ''echo s3fs#<bucket> /mnt/<bucket> fuse _netdev,rw,nosuid,nodev,allow_other 0 0 %%>>%% /etc/fstab'' \\ (Replace the leading ''<bucket>'' with your bucket name and the ''/mnt/<bucket>'' with the mount point) |