Installing FUSE + s3fs and sshfs on Ubuntu

через s3fs не видно папки созданные через вэб интерфейс S3 или при помощи других программ!
папки созданные при помощи s3fs видно при помощи других программ.

Вот не плохая программа для Windows

Installing FUSE + s3fs and sshfs on Ubuntu

Fuse is a program to mount «foreign» filesystems to your computer. This is how I got an Amazon S3 (simple storage service) bucket mounted on my Ubuntu server as if it were a local folder.

Install the necessary libraries:

sudo aptitude install build-essential libcurl4-openssl-dev libxml2-dev libfuse-dev comerr-dev libfuse2 libidn11-dev libkadm55 libkrb5-dev libldap2-dev libselinux1-dev libsepol1-dev pkg-config fuse-utils sshfs

We also installed the sshfs (SSH File System) in order to test out FUSE. Go ahead and create a mount folder and mount a remote drive to it:

sudo mkdir -p /mnt/sshfs

sudo chown user:fuse /mnt/sshfs

sudo sshfs user@hostname:/path/on/remote/server /mnt/sshfs

You should now be able to browse files on /path/on/remote/server, locally from /mnt/sshfs. Please note that you will need to set the ownership of the mount before you’ll be able to use it. The fuse group was created automatically and is a good place to start.

To unmount the drive:

fusermount -u /mnt/sshfs

Download the s3fs source (Revision 177 as of this writing) from the Google Code project:


Untar and install the s3fs binary:

tar xzvf s3fs-1.40.tar.gz

cd ./s3fs-1.40

./configure —prefix=/usr


sudo make install

In order to use the allow_other option (see below) you will need to modify the fuse configuration:

sudo vi /etc/fuse.conf

And uncomment the following line in the conf file:


Now you can mount an S3 bucket like this:

sudo mkdir -p /mnt/s3
s3fs bucketname -o accessKeyId=XXX -o secretAccessKey=YYY -o use_cache=/tmp -o allow_other /mnt/s3

You will need to replace the XXX above with your real Amazon Access Key and YYY with your real Secret Key. I’ve also told it to cache the bucket’s files locally (in /tmp) and to Allow other users to be able to manipulate files in the mount. Check the wiki documentation for more options available to s3fs, including how to save your Access Key and Secret Key in /etc/passwd-s3fs.

Now any files written to /mnt/s3 will be replicated to your Amazon S3 bucket.

Источник: Installing FUSE + s3fs and sshfs on Ubuntu.

Добавить комментарий