mirror of https://github.com/minio/minio.git
Merge pull request #1068 from harshavardhana/update-doc
Add doc change.
This commit is contained in:
commit
23ca11f75b
|
@ -9,3 +9,4 @@ site/
|
||||||
/.idea/
|
/.idea/
|
||||||
/Minio.iml
|
/Minio.iml
|
||||||
**/access.log
|
**/access.log
|
||||||
|
assetfs.go
|
||||||
|
|
31
README.md
31
README.md
|
@ -64,14 +64,16 @@ Read more here on [How to configure data volume containers for Minio?](./Docker.
|
||||||
|
|
||||||
#### Source
|
#### Source
|
||||||
<blockquote>
|
<blockquote>
|
||||||
NOTE: Source installation is intended for only developers and advanced users. ‘minio update’ continous delivery mechanism is not supported for ‘go get’ based binary builds. Please download official releases from https://minio.io/#minio.
|
NOTE: Source installation is intended for only developers and advanced users. For general use, please download official releases from https://minio.io/download.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
If you do not have a working Golang environment, please follow [Install Golang](./INSTALLGO.md).
|
If you do not have a working Golang environment, please follow [Install Golang](./INSTALLGO.md).
|
||||||
|
|
||||||
```sh
|
~~~
|
||||||
$ GO15VENDOREXPERIMENT=1 go get -u github.com/minio/minio
|
$ go get -d github.com/minio/minio
|
||||||
```
|
$ cd $GOPATH/src/github.com/minio/minio
|
||||||
|
$ make
|
||||||
|
~~~
|
||||||
|
|
||||||
### How to use Minio?
|
### How to use Minio?
|
||||||
|
|
||||||
|
@ -106,19 +108,20 @@ EXAMPLES:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
$ minio server ~/Photos
|
$ minio server ~/Photos
|
||||||
AccessKey: G5GJRH51R2HSUWYPGIX5 SecretKey: uxhBC1Yscut3/u81l5L8Yp636ZUk32N4m/gFASuZ
|
AccessKey: WLGDGYAQYIGI833EV05A SecretKey: BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF Region: us-east-1
|
||||||
|
|
||||||
To configure Minio Client.
|
Minio Object Storage:
|
||||||
|
http://127.0.0.1:9000
|
||||||
|
http://10.0.0.3:9000
|
||||||
|
|
||||||
$ wget https://dl.minio.io/client/mc/release/linux-amd64/mc
|
Minio Browser:
|
||||||
$ chmod 755 mc
|
http://127.0.0.1:9000
|
||||||
$ ./mc config host add myminio http://localhost:9000 G5GJRH51R2HSUWYPGIX5 uxhBC1Yscut3/u81l5L8Yp636ZUk32N4m/gFASuZ
|
http://10.0.0.3:9000
|
||||||
$ ./mc mb myminio/photobucket
|
|
||||||
$ ./mc cp --recursive ~/Photos myminio/photobucket
|
|
||||||
|
|
||||||
Starting minio server:
|
To configure Minio Client:
|
||||||
Listening on http://127.0.0.1:9000
|
$ wget https://dl.minio.io/client/mc/release/darwin-amd64/mc
|
||||||
Listening on http://172.30.2.17:9000
|
$ chmod 755 mc
|
||||||
|
$ ./mc config host add myminio http://localhost:9000 WLGDGYAQYIGI833EV05A BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
#### How to use AWS CLI with Minio?
|
#### How to use AWS CLI with Minio?
|
||||||
|
|
|
@ -233,7 +233,7 @@ type accessKeys struct {
|
||||||
func (a accessKeys) String() string {
|
func (a accessKeys) String() string {
|
||||||
magenta := color.New(color.FgMagenta, color.Bold).SprintFunc()
|
magenta := color.New(color.FgMagenta, color.Bold).SprintFunc()
|
||||||
white := color.New(color.FgWhite, color.Bold).SprintfFunc()
|
white := color.New(color.FgWhite, color.Bold).SprintfFunc()
|
||||||
return fmt.Sprint(magenta("AccessKey: ") + white(a.Credentials.AccessKeyID) + " " + magenta("SecretKey: ") + white(a.Credentials.SecretAccessKey))
|
return fmt.Sprint(magenta("AccessKey: ") + white(a.Credentials.AccessKeyID) + " " + magenta("SecretKey: ") + white(a.Credentials.SecretAccessKey) + " " + magenta("Region: ") + white(a.Credentials.Region))
|
||||||
}
|
}
|
||||||
|
|
||||||
// JSON - json formatted output
|
// JSON - json formatted output
|
||||||
|
|
Loading…
Reference in New Issue