Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

How to mount S3 bucket automatically on reboot

$
0
0

I am using s3fs to mount an s3 bucket on my Ubuntu server:

sudo apt-get install s3fssudo vim /etc/passwd-s3fs // <--put user access key and secret key in this filesudo chmod 640 /etc/passwd-s3fs // <-- change permission to password filesudo vim /etc/fuse.conf // uncomment user_allow_other

Now mount the s3 bucket:

sudo s3fs -o allow_other s3-bucket-name /home/myuser/s3

I want to make sure that the bucket is mounted automatically after reboot, how can I do this?


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>