1. Download the installation package oss
wget http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/32196/cn_zh/1507811577850/ossfs_1.80.3_centos7.0_x86_64.rpm
2. Install
sudo yum localinstall ossfs_1.80.3_centos7.0_x86_64.rpm
3. Set the bucket name and AccessKeyId / Secret information, which is stored in / etc / passwd-ossfs file
echo my-bucket:my-access-key-id:my-access-key-secret > /etc/passwd-ossfs
4.chmod 640 /etc/passwd-ossfs
5. OSS bucket mount to mount the specified program directory.
ossfs my-bucket my-mount-point -ourl=my-oss-endpoint
Note: my-bucket represents the name of the oss, My-Mount-Point represents mount directory server (eg: / Mount), My-oss-Endpoint node represents a geographical oss (typically external network node), as shown below:
1. Download the installation package oss
wget http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/32196/cn_zh/1507811577850/ossfs_1.80.3_centos7.0_x86_64.rpm
2. Install
sudo yum localinstall ossfs_1.80.3_centos7.0_x86_64.rpm
3. Set the bucket name and AccessKeyId / Secret information, which is stored in / etc / passwd-ossfs file
echo my-bucket:my-access-key-id:my-access-key-secret > /etc/passwd-ossfs
4.chmod 640 /etc/passwd-ossfs
5. OSS bucket mount to mount the specified program directory.
ossfs my-bucket my-mount-point -ourl=my-oss-endpoint
Note: my-bucket represents the name of the oss, My-Mount-Point represents mount directory server (eg: / Mount), My-oss-Endpoint node represents a geographical oss (typically external network node), as shown below: