· 9 years ago · Sep 28, 2016, 01:12 AM
1### Compile from source to fit your architecture & get the binary. Not recommended for l
2
3$ git clone git@github.com:minio/minio.git
4$ cd minio
5$ make release
6$ cd release
7
8
9### Create config.json on all 4 nodes and copy config.json to each one of those inside ``~/.minio``.
10
11
12{
13 "version": "7",
14 "credential": {
15 "accessKey": "minio",
16 "secretKey": "miniostorage"
17 },
18 "region": "us-east-1",
19 "logger": {
20 "console": {
21 "enable": true,
22 "level": "debug"
23 },
24 "file": {
25 "enable": true,
26 "fileName": "",
27 "level": "error"
28 },
29 "syslog": {
30 "enable": false,
31 "address": "",
32 "level": "debug"
33 }
34 },
35 "notify": {
36 "amqp": {
37 "1": {
38 "enable": false,
39 "url": "",
40 "exchange": "",
41 "routingKey": "",
42 "exchangeType": "",
43 "mandatory": false,
44 "immediate": false,
45 "durable": false,
46 "internal": false,
47 "noWait": false,
48 "autoDeleted": false
49 }
50 },
51 "elasticsearch": {
52 "1": {
53 "enable": false,
54 "url": "",
55 "index": ""
56 }
57 },
58 "redis": {
59 "1": {
60 "enable": false,
61 "address": "",
62 "password": "",
63 "key": ""
64 }
65 }
66 }
67}
68
69
70
71### Start minio server on a 4 node distributed setup. Type the following command on all the 4 nodes.
72
73 $ export MINIO_ACCESS_KEY=minio
74 $ export MINIO_SECRET_KEY=miniostorage
75 $ minio server 192.168.1.11:/mnt/export/ 192.168.1.12:/mnt/export/ 192.168.1.13:/mnt/export/ 192.168.1.14:/mnt/export/