阿里云服务器(轻量服务器 OR ECS服务器)挂载OSS走内网流量

perfect start 2月前 ⋅ 715 阅读
wget https://github.com/aliyun/ossfs/releases/download/v1.80.5/ossfs_1.80.5_centos7.0_x86_64.rpm

yum localinstall ossfs_1.80.5_centos7.0_x86_64.rpm
# my-bucket表示OSS bucket的名字 my-access-key-id表示AccessKey ID my-access-key-secret Access Key Secret
echo my-bucket:my-access-key-id:my-access-key-secret > /etc/passwd-ossfs
chmod 640 /etc/passwd-ossfs

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

详细查看


全部评论: 0

    我有话说: