|
|
| sudo make install | | sudo make install |
| | | |
| n | Configure: | n | Configure s3fs password file: |
| | | |
| .. code-block:: bash | | .. code-block:: bash |
| n | | n | |
| vim ~/.passwd-s3fs | | |
| chmod 600 ~/.passwd-s3fs | | |
| | | |
| t | | t | sudo vim /root/.passwd-s3fs |
| | | sudo chmod 600 /root/.passwd-s3fs |
| | | |
| Format should be: <access key id>:<access key secret> | | Format should be: <access key id>:<access key secret> |
| | | |
|
|
| follow the prompts. You will need to prepare your Access Key ID and Access Key | | follow the prompts. You will need to prepare your Access Key ID and Access Key |
| Secret. | | Secret. |
| | | |
| t | Test: | t | list buckets: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | s3cmd ls |
| | | |
| | | list inside a bucket |
| | | |
| .. code-block:: bash | | .. code-block:: bash |
|
|
| .. code-block:: bash | | .. code-block:: bash |
| | | |
| t | s3fs #mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0 | t | s3fs#mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0 |
| | | |
| | | |
|
|
| .. code-block:: bash | | .. code-block:: bash |
| | | |
| t | s3fs # mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0 | t | s3fs #mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0 |
| | | |
| | | |
|
|
| s3fs <bucket name> <mount point> | | s3fs <bucket name> <mount point> |
| | | |
| n | | n | Add to fstab to mount during boot: |
| | | |
| t | | t | .. code-block:: bash |
| | | |
| | | s3fs # mybucket /mnt/s3 fuse allow_other,url=https://s3.amazonaws.com 0 0 |
| | | |
| | | |
| | | |
|
|
| .. code-block:: bash | | .. code-block:: bash |
| | | |
| t | testh | t | s3fs <bucket name> <mount point> |
| | | |
| | | |
| | | |
| | | |
|
|
| | | |
| | | |
| n | | n | Test: |
| | | |
| | | |
| t | | t | .. code-block:: bash |
| | | |
| | | testh |
| | | |
| | | |
| | | |
|
|
| Format should be: <access key id>:<access key secret> | | Format should be: <access key id>:<access key secret> |
| | | |
| n | Test: | n | |
| | | |
| .. code-block:: bash | | |
| | | |
| s3fs <bucket name> <mount point> | | |
| | | |
| n | Add to fstab to mount on boot: | n | |
| | | |
| t | .. code-block:: bash | t | |
| | | |
| oijiojoij | | |
|
|
| Format should be: <access key id>:<access key secret> | | Format should be: <access key id>:<access key secret> |
| | | |
| n | | n | Test: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | s3fs <bucket name> <mount point> |
| | | |
| n | | n | Add to fstab to mount on boot: |
| | | |
| t | | t | .. code-block:: bash |
| | | |
| | | oijiojoij |
|
|
| Format should be: <access key id>:<access key secret> | | Format should be: <access key id>:<access key secret> |
| | | |
| n | Test: | n | |
| | | |
| .. code-block:: bash | | |
| | | |
| sudo s3fs <bucket name> /mnt | | |
| | | |
| To mount this file system during boot: | | |
| | | |
| .. code-block:: bash | | |
| | | |
| s3fs#<bucket name> /mnt | | |
| | | |
| t | | t | |
| | | |
|
|
| Format should be: <access key id>:<access key secret> | | Format should be: <access key id>:<access key secret> |
| | | |
| n | | n | Test: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | sudo s3fs <bucket name> /mnt |
| | | |
| | | To mount this file system during boot: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | s3fs#<bucket name> /mnt |
| | | |
| t | | t | |
| | | |
|
|
| sudo make install | | sudo make install |
| | | |
| t | | t | Configure: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | vim ~/.passwd-s3fs |
| | | chmod 600 ~/.passwd-s3fs |
| | | |
| | | Format should be: <access key id>:<access key secret> |
| | | |
| | | |
| | | |
| | | |
|
|
| | | |
| | | |
| t | Install, configure, and test s3fs-fuse | t | Install, Configure, and test s3fs-fuse |
| ----------------------------------------------- | | ----------------------------------------------- |
| | | |
|
|
| .. code-block:: bash | | .. code-block:: bash |
| | | |
| n | apt-get install fuse-utils build-essential libcurl4-openssl-dev libxml2-dev li | n | sudo apt-get install fuse-utils build-essential libcurl4-openssl-dev libxml2-d |
| bfuse-dev | | ev libfuse-dev |
| | | |
| Download sourcecode: | | Download sourcecode: |
| cd s3fs-* | | cd s3fs-* |
| ./configure | | ./configure |
| t | make | t | sudo make |
| make install | | sudo make install |
| | | |
|
|
| | | |
| wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz | | wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz |
| n | tar -xzvf s3fs-* | n | tar -xzvf s3fs-* |
| cd s3fs-* | | |
| | | |
| Build sourcecode: | | Build sourcecode: |
| | | |
| .. code-block:: bash | | .. code-block:: bash |
| | | |
| t | | t | cd s3fs-* |
| | | ./configure |
| make | | make |
| make install | | make install |
|
|
| n | Mounting s3 bucket locally on Ubuntu | n | Mounting s3 Bucket Locally on Ubuntu |
| ================================================== | | ================================================== |
| | | |
| n | Install the following packages: | n | .. contents:: |
| | | |
| n | .. code-block:: bash | n | |
| | | |
| n | apt-get update | n | Install, Configure, and Test s3cmd |
| apt-get install s3cmd | | ------------------------------------------------------ |
| | | |
| t | | t | Install: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | sudo apt-get update |
| | | sudo apt-get install s3cmd |
| | | |
| | | |
| | | Configure: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | s3cmd --configure |
| | | |
| | | follow the prompts. You will need to prepare your Access Key ID and Access Key |
| | | Secret. |
| | | |
| | | Test: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | s3cmd ls <bucket> |
| | | |
| | | |
| | | |
| | | Install, configure, and test s3fs-fuse |
| | | ----------------------------------------------- |
| | | |
| | | Install dependencies: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | apt-get install fuse-utils build-essential libcurl4-openssl-dev libxml2-dev li |
| | | bfuse-dev |
| | | |
| | | Download sourcecode: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz |
| | | tar -xzvf s3fs-* |
| | | cd s3fs-* |
| | | |
| | | Build sourcecode: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | make |
| | | make install |
| | | |
|
|
| t | | t | Mounting s3 bucket locally on Ubuntu |
| | | ================================================== |
| | | |
| | | Install the following packages: |
| | | |
| | | .. code-block:: bash |
| | | |
| | | apt-get update |
| | | apt-get install s3cmd |
| | | |