CentOS7安装s3fs-fuse挂载Minio磁盘

#将minio文件服务挂载到服务器磁盘中
yum -y install automake fuse fuse-devel gcc-c++ git libcurl-devel libxml2-devel make openssl-devel
#git clone https://github.com/s3fs-fuse/s3fs-fuse.git
mkdir -p /usr/local/src/ && cd /usr/local/src/
wget http://10.155.31.4:3690/ops/minio/s3fs-fuse-master.zip
unzip s3fs-fuse-master.zip
cd /usr/local/src/s3fs-fuse-master
./autogen.sh
./configure && make && make install
echo “用户名:密码” /etc/.passwd-s3fs
chmod 600 /etc/.passwd-s3fs
#s3fs -o passwd_file=/etc/.passwd-s3fs -o url=http://192.168.6.196:9000 -o allow_other -o nonempty -o no_check_certificate -o use_path_request_style -o umask=000 桶名称 本地挂载路径
s3fs -o passwd_file=/etc/.passwd-s3fs -o url=http://x.x.x.x:9000 -o allow_other -o nonempty -o no_check_certificate -o use_path_request_style -o umask=000 bucket1 /opt/files

参考:
https://www.jianshu.com/p/5a272ebfd717