OSSFS配置


https://github.com/aliyun/ossfs

步骤

1. 从github获取代码编译

git pull [email protected]:aliyun/ossfs.git
cd ossfs
./autogen.sh
./configure
make
sudo make install

2. 配置Bucket

echo my-bucket:my-access-key-id:my-access-key-secret > /etc/passwd-ossfs
chmod 640 /etc/passwd-ossfs

3. ossfs绑定目录

ossfs my-bucket my-mount-point -ourl=my-oss-endpoint
,

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注