Note: This whole tutorial will be done in the terminal

Installation

  1. To get started, first install the dependencies. Alternatively, if you are using GIT, you can checkout its Github page for more detail.
  2. Extract the file: You should now find a “riofs-master” folder.
  3. Enter the “riofs-folder” folder and compile it.
  4. Before we can mount our bucket, we have to configure the configuration file for riofs. In your terminal: This will copy the default configuration file to your local folder. You can change the destination folder if you want to. Next, we need to add the security credential to the configuration file: Scroll down the page till you see the AWS_ACCESS_KEY section.

Uncomment that section and replace “###AWS_ACCESS_KEY###” with your access key and “###AWS_SECRET_ACCESS_KEY” with the secret key. Save (Ctrl + o) and exit (Ctrl + x). 2. Change the permission for the riofs.conf.xml file. To check if your bucket is successfully mounted, just list all the files in the mounted directory:

More Configuration

There are a few things that you can set in riofs.

–cache-dir: set a cache directory to minimize downloads -o “allow_other”: allow other users to access your bucket. You will need to enable the “user_allow_other” option in the fuse config file (/etc/fuse.conf)

Conclusion