Skip to content

Instantly share code, notes, and snippets.

@arfon
Last active March 9, 2024 20:34
Show Gist options
  • Save arfon/d93c788b4dcfd12029c8fb0d2fdeeb4c to your computer and use it in GitHub Desktop.
Save arfon/d93c788b4dcfd12029c8fb0d2fdeeb4c to your computer and use it in GitHub Desktop.

Revisions

  1. arfon revised this gist Mar 14, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion goofys.bash
    Original file line number Diff line number Diff line change
    @@ -19,7 +19,7 @@ aws_secret_access_key=YOURAWSSECRETKEY
    $ mkdir /home/ubuntu/data

    # Mount the S3 bucket
    $ goofys stpubdata /home/ubuntu/data
    $ goofys --profile=tess stpubdata /home/ubuntu/data

    # Finally, list the contents of the S3 bucket
    $ ls /home/ubuntu/data/tess/public/
  2. arfon revised this gist Dec 6, 2018. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion goofys.bash
    Original file line number Diff line number Diff line change
    @@ -18,8 +18,9 @@ aws_secret_access_key=YOURAWSSECRETKEY
    # Make a directory to mount the S3 bucket
    $ mkdir /home/ubuntu/data

    # Finally, mount the S3 bucket
    # Mount the S3 bucket
    $ goofys stpubdata /home/ubuntu/data

    # Finally, list the contents of the S3 bucket
    $ ls /home/ubuntu/data/tess/public/
    engineering ffi mast models pixel_list tid
  3. arfon revised this gist Dec 6, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion goofys.bash
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ $ go get github.com/kahing/goofys
    $ go install github.com/kahing/goofys

    # Copy the goofys binary to somewhere in your path
    * sudo cp go/bin/goofys /usr/bin/
    $ sudo cp go/bin/goofys /usr/bin/

    $ cat .aws/credentials
    [default]
  4. arfon created this gist Dec 6, 2018.
    25 changes: 25 additions & 0 deletions goofys.bash
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    # Install go
    $ sudo apt-get install golang-go

    # Download goofys package
    $ go get github.com/kahing/goofys

    # Install goofys
    $ go install github.com/kahing/goofys

    # Copy the goofys binary to somewhere in your path
    * sudo cp go/bin/goofys /usr/bin/

    $ cat .aws/credentials
    [default]
    aws_access_key_id=YOURAWSACCESSKEY
    aws_secret_access_key=YOURAWSSECRETKEY

    # Make a directory to mount the S3 bucket
    $ mkdir /home/ubuntu/data

    # Finally, mount the S3 bucket
    $ goofys stpubdata /home/ubuntu/data

    $ ls /home/ubuntu/data/tess/public/
    engineering ffi mast models pixel_list tid