You've already forked minio-cookbook
mirror of
https://github.com/astaxie/cookbook.git
synced 2025-08-08 09:42:04 +03:00
Doc: Modified S3cmd,Rclone naming convention with camelcase and updated (#52)
splash screen for Minio server.
This commit is contained in:
committed by
Harshavardhana
parent
10c79ed8ac
commit
16d2c44fd6
@@ -1,6 +1,6 @@
|
||||
# rclone with Minio Server [](https://gitter.im/minio/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
# Rclone with Minio Server [](https://gitter.im/minio/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
`rclone` is an open source command line program to sync files and
|
||||
`Rclone` is an open source command line program to sync files and
|
||||
directories to and from cloud storage systems. It aims to be "rsync
|
||||
for cloud storage".
|
||||
|
||||
@@ -12,7 +12,7 @@ First install Minio Server from [minio.io](https://minio.io/).
|
||||
|
||||
## 2. Installation
|
||||
|
||||
Next install rclone from [rclone.org](http://rclone.org).
|
||||
Next install Rclone from [rclone.org](http://rclone.org).
|
||||
|
||||
## 3. Configuration
|
||||
|
||||
@@ -20,21 +20,29 @@ When it configures itself Minio will print something like this
|
||||
|
||||
```sh
|
||||
|
||||
AccessKey: WLGDGYAQYIGI833EV05A SecretKey: BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF Region: us-east-1
|
||||
Endpoint: http://10.0.0.3:9000 http://127.0.0.1:9000 http://172.17.0.1:9000
|
||||
AccessKey: USWUXHGYZQYFYFFIT3RE
|
||||
SecretKey: MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03
|
||||
Region: us-east-1
|
||||
|
||||
Minio Object Storage:
|
||||
http://127.0.0.1:9000
|
||||
http://10.0.0.3:9000
|
||||
Browser Access:
|
||||
http://10.0.0.3:9000 http://127.0.0.1:9000 http://172.17.0.1:9000
|
||||
|
||||
Command-line Access: https://docs.minio.io/docs/minio-client-quickstart-guide
|
||||
$ mc config host add myminio http://10.0.0.3:9000 USWUXHGYZQYFYFFIT3RE MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03
|
||||
|
||||
Object API (Amazon S3 compatible):
|
||||
Go: https://docs.minio.io/docs/golang-client-quickstart-guide
|
||||
Java: https://docs.minio.io/docs/java-client-quickstart-guide
|
||||
Python: https://docs.minio.io/docs/python-client-quickstart-guide
|
||||
JavaScript: https://docs.minio.io/docs/javascript-client-quickstart-guide
|
||||
|
||||
Minio Browser:
|
||||
http://127.0.0.1:9000
|
||||
http://10.0.0.3:9000
|
||||
|
||||
```
|
||||
|
||||
You now need to configure those details into rclone.
|
||||
|
||||
Run `rclone config`, create a new remote called `minio` (or anything
|
||||
Run `Rclone config`, create a new remote called `minio` (or anything
|
||||
else) of type `S3` and enter the details above something like this:
|
||||
|
||||
(Note that it is important to put the region in as stated above.)
|
||||
@@ -42,8 +50,8 @@ else) of type `S3` and enter the details above something like this:
|
||||
```sh
|
||||
|
||||
env_auth> 1
|
||||
access_key_id> WLGDGYAQYIGI833EV05A
|
||||
secret_access_key> BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF
|
||||
access_key_id> USWUXHGYZQYFYFFIT3RE
|
||||
secret_access_key> MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03
|
||||
region> us-east-1
|
||||
endpoint> http://10.0.0.3:9000
|
||||
location_constraint>
|
||||
@@ -57,8 +65,8 @@ Which makes the config file look like this
|
||||
|
||||
[minio]
|
||||
env_auth = false
|
||||
access_key_id = WLGDGYAQYIGI833EV05A
|
||||
secret_access_key = BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF
|
||||
access_key_id = USWUXHGYZQYFYFFIT3RE
|
||||
secret_access_key = MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03F
|
||||
region = us-east-1
|
||||
endpoint = http://10.0.0.3:9000
|
||||
location_constraint =
|
||||
@@ -69,9 +77,9 @@ server_side_encryption =
|
||||
## 4. Commands
|
||||
|
||||
Minio doesn't support all the features of S3 yet. In particular it
|
||||
doesn't support MD5 checksums (ETags) or metadata. This means rclone
|
||||
doesn't support MD5 checksums (ETags) or metadata. This means Rclone
|
||||
can't check MD5SUMs or store the modified date. However you can work
|
||||
around this with the `--size-only` flag of rclone.
|
||||
around this with the `--size-only` flag of Rclone.
|
||||
|
||||
Here are some example commands
|
||||
|
||||
@@ -103,4 +111,4 @@ Then sync for real
|
||||
|
||||
rclone --size-only sync /path/to/files minio:bucket
|
||||
|
||||
See the [rclone web site](http://rclone.org) for more examples and docs.
|
||||
See the [Rclone web site](http://rclone.org) for more examples and docs.
|
||||
|
Reference in New Issue
Block a user