User Tools

Site Tools


en:minio_server

Minio server

minio S3

installation minio

''docker pull minio/minio
docker run -p 9000:9000 minio/minio server /data''

minio avec stockage persistent

''docker run -p 9000:9000 --name minio1
  -v /mnt/data:/data
  -v /mnt/config:/root/.minio
  minio/minio server /data

minio avec verification erasure code

''docker run -p 9000:9000 --name minio
  -v /mnt/export1/backend:/export1
  -v /mnt/export2/backend:/export2
  -v /mnt/export3/backend:/export3
  -v /mnt/export4/backend:/export4
  -v /mnt/export5/backend:/export5
  -v /mnt/export6/backend:/export6
  -v /mnt/export7/backend:/export7
  -v /mnt/export8/backend:/export8
  minio/minio server /export1 /export2 /export3 /export4 /export5 /export6 /export7 /export8''

minio avec installation distribuee multi serveur

  • les cles doivent etre les memes sur tous les serveurs minio
  • les adresse IP doivent etre configurees et accessibles
  • il est recommande d'utiliser NTP pour une bonne synchro horaire
''
export MINIO_ACCESS_KEY=<ACCESS_KEY>

export MINIO_SECRET_KEY=<SECRET_KEY>
minio server http://192.168.1.11/
export 1 http://192.168.1.12/
export 2
   http://192.168.1.13/
export 3 http://192.168.1.14/
export 4
   http://192.168.1.15/
export 5 http://192.168.1.16/
export 6
   http://192.168.1.17/
export 7 http://192.168.1.18/
export 8''

acces securise a Minio par TLS

creer un dossier certs dans le dossier config de minio

il faut que les certificats aient les noms de fichiers private.key and public.crt et un format PEM sous Linux

With OpenSSL:

Generate the private key:

openssl genrsa -out private.key 2048

Generate the self-signed certificate:

openssl req -new -x509 -days 3650 -key private.key -out public.crt -subj "/C=US/ST=state/L=location/O=organization/CN=domain"

sources

minio + sia

there is a minio version that include integration with sia and for distributed storage in the siacoin blockchain.

https://www.reddit.com/r/siacoin/comments/6tg8mu/minio_team_agrees_to_accept_sia_integration/?st=j6nkldot&sh=45f35628

https://github.com/minio/minio/pull/4802

installation minio for sia

you need to install go : see http://wikii.freelab.cc/fr:golang

if not existing create your local go storage :


create the local folder for the go project minio

mkdir ~/go/src/github.com/minio
cd ~/go/src/github.com/minio

clone the repository

''git clone http://github.com/dvstate/minio''

get in the new folder and build

cd minio

make

some dependencies might be lacking for the good build

you might need to type the following commands

go get github.com/NebulousLabs/Sia/api

go get github.com/NebulousLabs/bolt

go get github.com/NebulousLabs/entropy-mnemonics

go get github.com/NebulousLabs/fastrand go get github.com/NebulousLabs/merkletree

go get github.com/bgentry/speakeasy

go get github.com/julienschmidt/httprouter

go get github.com/klauspost/reedsolomon

go get github.com/mattn/go-sqlite3

go get golang.org/x/crypto/blake2b

go get golang.org/x/crypto/ed25519

details

/home/freelab/domains/wikii.freelab.cc/public_html/data/pages/en/minio_server.txt · Last modified: 2017/09/23 14:01 (external edit)