将S3安装到Wowza EC2:无法“制作” S3FS-保险丝

时间:2019-10-14 06:54:22

标签: amazon-s3 amazon-ec2 wowza

我正在尝试将S3存储桶安装到this tutorial或其他任何版本的从亚马逊市场购买的wowza ec2实例上。我不能make

[ec2-user@ip-172-31-46-59 s3fs-fuse]$ make
make  all-recursive
make[1]: Entering directory `/home/ec2-user/s3fs-fuse'
Making all in src
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/src'
Making all in test
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/test'
Making all in doc
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse'
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse'
[ec2-user@ip-172-31-46-59 s3fs-fuse]$ sudo make install
Making install in src
make[1]: Entering directory `/home/ec2-user/s3fs-fuse/src'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/src'
 /bin/mkdir -p '/usr/bin'
  /usr/bin/install -c s3fs '/usr/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/src'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse/src'
Making install in test
make[1]: Entering directory `/home/ec2-user/s3fs-fuse/test'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/test'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse/test'
Making install in doc
make[1]: Entering directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/usr/share/man/man1'
 /usr/bin/install -c -m 644 man/s3fs.1 '/usr/share/man/man1'
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/doc'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse/doc'
make[1]: Entering directory `/home/ec2-user/s3fs-fuse'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse'

1 个答案:

答案 0 :(得分:0)

通过使用yum和{p>安装s3fs-fuse解决了该问题

sudo s3fs bucketFolder /var/www/html/Example-folder/ -o passwd_file=/root/.passwd-s3fs -o allow_other,umask=277,uid=500,gid=500,use_cache=/root/cache

您可以通过在终端中以常规用户身份运行id命令来获得guid和uid。如果打算使用缓存,请创建一个缓存文件夹。另外还需要其他选项,以使普通用户可以访问已安装的分区。

理想情况下,您要装载的文件夹应该为空,否则,您会收到警告