This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "nats": { | |
| "1": { | |
| "enable": true, | |
| "address": "0.0.0.0:4222", | |
| "subject": "bucketevents", | |
| "username": "yourusername", | |
| "password": "yoursecret", | |
| "token": "", | |
| "secure": false, | |
| "pingInterval": 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "postgresql": { | |
| "1": { | |
| "enable": true, | |
| "format": "namespace", | |
| "connectionString": "sslmode=disable", | |
| "table": "bucketevents", | |
| "host": "127.0.0.1", | |
| "port": "5432", | |
| "user": "postgres", | |
| "password": "mypassword", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| bucketevents_db=# select * from bucketevents; | |
| key | value | |
| --------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| images/myphoto.jpg | {"Records": [{"s3": {"bu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Note: You should have go-1.7.1 installed, if not follow: https://docs.minio.io/docs/how-to-install-golang | |
| $ GOOS=linux GOARCH=arm64 go get -u github.com/minio/minio | |
| This will install compile Minio inside /bin/linux_arm64 of your $GOPATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export MINIO_ACCESS_KEY=BKIKJAA5BMMU2RHO6IBB | |
| export MINIO_SECRET_KEY=V8f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12 | |
| ./minio server http://192.168.1.2/home/minio/data http://192.168.1.3/home/minio/data http://192.168.1.4/home/minio/data http://192.168.1.5/home/minio/data http://192.168.1.6/home/minio/data http://192.168.1.7/home/minio/data http://192.168.1.8/home/minio/data http://192.168.1.9/home/minio/data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| for dest in $(<pine64Iplist.txt); do | |
| scp ~/.minio/config.json ${dest}:/home/minio/.minio | |
| scp -p ~/minio ${dest}:/home/minio/ | |
| scp -p ~/clusterstart.sh ${dest}:/home/minio/ | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 192.168.1.3 | |
| 192.168.1.4 | |
| 192.168.1.5 | |
| 192.168.1.6 | |
| 192.168.1.7 | |
| 192.168.1.8 | |
| 192.168.1.9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "7", | |
| "credential": { | |
| "accessKey": "Q3AM3UQ546GPQQA43E6D", | |
| "secretKey": "rma+tfteSlswJu7BJ86wekfutifILbZam1KZZ3TG" | |
| }, | |
| "region": "us-east-1", | |
| "logger": { | |
| "console": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Create config.json on all 4 nodes and copy config.json to each one of those inside ``~/.minio``. | |
| { | |
| "version": "7", | |
| "credential": { | |
| "accessKey": "minio", | |
| "secretKey": "miniostorage" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ redis-cli -a yoursecret | |
| 127.0.0.1:6379> monitor | |
| OK |