From 523e75759ddf60a04397238b18c35b50d9a12257 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sun, 13 Dec 2015 13:57:47 -0800 Subject: [PATCH] minio: Fix mc and minio download URLs. Fixes #991 --- README.md | 14 +++++++------- server-main.go | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3773f274c..b65525ced 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,9 @@ Micro services environment provisions one Minio server per application instance. Download ``minio`` for: -- ``64-bit Intel`` from https://dl.minio.io:9000/updates/minio/2015/Dec/linux-amd64/minio -- ``32-bit Intel`` from https://dl.minio.io:9000/updates/minio/2015/Dec/linux-386/minio -- ``32-bit ARM`` from https://dl.minio.io:9000/updates/minio/2015/Dec/linux-arm/minio +- ``64-bit Intel`` from https://dl.minio.io/server/minio/release/linux-amd64/minio +- ``32-bit Intel`` from https://dl.minio.io/server/minio/release/linux-386/minio +- ``32-bit ARM`` from https://dl.minio.io/server/minio/release/linux-arm/minio ~~~ $ chmod +x minio @@ -34,7 +34,7 @@ $ ./minio help #### OS X -Download ``minio`` from https://dl.minio.io:9000/updates/minio/2015/Dec/darwin-amd64/minio +Download ``minio`` from https://dl.minio.io/server/minio/release/darwin-amd64/minio ~~~ $ chmod 755 minio @@ -45,8 +45,8 @@ $ ./minio help Download ``minio`` for: -- ``64-bit`` from https://dl.minio.io:9000/updates/minio/2015/Dec/windows-amd64/minio.exe -- ``32-bit`` from https://dl.minio.io:9000/updates/minio/2015/Dec/windows-386/minio.exe +- ``64-bit`` from https://dl.minio.io/server/minio/release/windows-amd64/minio.exe +- ``32-bit`` from https://dl.minio.io/server/minio/release/windows-386/minio.exe ~~~ C:\Users\Username\Downloads> minio.exe help @@ -110,7 +110,7 @@ AccessKey: G5GJRH51R2HSUWYPGIX5 SecretKey: uxhBC1Yscut3/u81l5L8Yp636ZUk32N4m/gF To configure Minio Client. - $ wget https://dl.minio.io:9000/updates/2015/Nov/linux-amd64/mc + $ wget https://dl.minio.io/client/mc/release/linux-amd64/mc $ chmod 755 mc $ ./mc config host add http://localhost:9000 G5GJRH51R2HSUWYPGIX5 uxhBC1Yscut3/u81l5L8Yp636ZUk32N4m/gFASuZ $ ./mc mb localhost:9000/photobucket diff --git a/server-main.go b/server-main.go index 5cc67483c..90ea9d325 100644 --- a/server-main.go +++ b/server-main.go @@ -248,12 +248,12 @@ func initServer() *probe.Error { } Println("\nTo configure Minio Client.") if runtime.GOOS == "windows" { - Println("\n\tDownload https://dl.minio.io:9000/updates/2015/Nov/" + runtime.GOOS + "-" + runtime.GOARCH + "/mc.exe") + Println("\n\tDownload https://dl.minio.io/client/mc/release/" + runtime.GOOS + "-" + runtime.GOARCH + "/mc.exe") Println("\t$ mc.exe config host add http://localhost:9000 " + conf.Credentials.AccessKeyID + " " + conf.Credentials.SecretAccessKey) Println("\t$ mc.exe mb localhost/photobucket") Println("\t$ mc.exe cp C:\\Photos... localhost/photobucket") } else { - Println("\n\t$ wget https://dl.minio.io:9000/updates/2015/Nov/" + runtime.GOOS + "-" + runtime.GOARCH + "/mc") + Println("\n\t$ wget https://dl.minio.io/client/mc/release/" + runtime.GOOS + "-" + runtime.GOARCH + "/mc") Println("\t$ chmod 755 mc") Println("\t$ ./mc config host add http://localhost:9000 " + conf.Credentials.AccessKeyID + " " + conf.Credentials.SecretAccessKey) Println("\t$ ./mc mb localhost/photobucket")