Bỏ qua

IDrive e2

Gắn bucket IDrive e2 trên Linux bằng RaiDrive CLI. Kết nối bằng một cặp khóa truy cập và địa chỉ điểm cuối IDrive e2 của bạn.

Để biết cách lấy tài khoản, khóa hoặc ID cần thiết, hãy xem Trước khi bắt đầu trong hướng dẫn IDrive e2 cho ứng dụng Windows.

raidrivecli add idrive --bucket <bucket> --endpoint <address>

Nếu bạn chỉ thêm bộ lưu trữ với các tùy chọn nêu trên, bạn sẽ được nhắc nhập Access Key ID và Secret Access Key.

$ raidrivecli add idrive --bucket mybucket \
                         --endpoint https://abcd.region.idrive2-ee.com
Access Key ID: <access-key-id>
Secret Access Key: ********

Bạn cũng có thể chỉ định Access Key ID hoặc Secret Access Key bằng tùy chọn.

raidrivecli add idrive --bucket <bucket> --endpoint <address> \
                       --access-key-id <key>
raidrivecli add idrive --bucket <bucket> --endpoint <address> \
                       --access-key-id <key> \
                       --secret-access-key [secret]

Cảnh báo

Các lệnh shell được lưu lại trong lịch sử. Nếu có thể, chúng tôi khuyên bạn không ghi kèm giá trị cho tùy chọn --secret-access-key.

Nếu không chỉ định thư mục gắn, bộ lưu trữ sẽ được gắn vào một thư mục trong /mnt, chẳng hạn /mnt/idrive. Để chỉ định thư mục gắn, hãy dùng tùy chọn --mount-path.

raidrivecli add idrive --bucket mybucket \
                       --endpoint https://abcd.region.idrive2-ee.com \
                       --mount-path /myservices/idrive

Tùy chọn bổ sung

--bucket <bucket>                       bucket
--endpoint <address>                    address (e.g. https://host.example.com)
--access-key-id <key>                   access key id
--secret-access-key [secret]            secret access key

Xem thêm