栏目头部广告

Tutorial for US3 Mounting on UHost

Before mounting, we have already created a UHost in the Bangkok region and a US3 (name:‘test123123’) in the Hongkong region.

1.jpg

2.jpg

Create a new token for US3 in the Hongkong region.

Record two values:

1.      Public key

2.      Private key.

3.jpg

Execute this command to download the tool for mounting:

curl -o us3fs https://ufile-release.cn-bj.ufileos.com/us3fs/us3fs_2.1.0

4.jpg

5.jpg

Edit the `/etc/us3fs.yaml` file and add the following information (create the file if it doesn't exist):

access_key: ************************************ (Public key)

secret_key: ************************************ (Private key)

endpoint: reference (Select the endpoint of US3 region)

hosts: []

6.jpg

Execute the following commands to mount:

chmod +x us3fs

./us3fs --passwd=passwd_file <bucket name> <mountpoint>

7.jpg

8.jpg

Create a file named 'a.txt' at the mount point, then check in the US3 console to verify that the file has been synchronized, indicating that the mount was successful.


文章详情页广告

Browse At Random.

底部广告
`