IBM / istio101

Istio 101 workshop (https://ibm.github.io/istio101/)
Apache License 2.0
156 stars 146 forks source link

Workshop - Exercise 2 download istio error #45

Closed artberger closed 6 years ago

artberger commented 6 years ago

Download error

I was trying this step:

  1. Either download Istio directly from https://github.com/istio/istio/releases or get the latest version by using curl:
    curl -L https://git.io/getLatestIstio | sh -

And got this error:

art:~ art$ curl -L https://git.io/getLatestIstio | sh -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1448  100  1448    0     0   3584      0 --:--:-- --:--:-- --:--:--  3584
Downloading istio- from https://github.com/istio/istio/releases/download//istio--osx.tar.gz ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9    0     9    0     0     30      0 --:--:-- --:--:-- --:--:--    30
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Downloaded into istio-:
ls: istio-: No such file or directory
sh: line 36: cd: istio-/bin: No such file or directory
Add /Users/art to your path; e.g copy paste in your shell and/or ~/.profile:
export PATH="$PATH:/Users/art"

Clearer about directory

I think that we also need to be clearer about where the istioctl lives. For example, if users just download it and leave it in their downloads, that might not be desirable. Also, the curl command if it works will just put it in whatever dir they're currently in (which also might not be desirable). Perhaps have a tip to guide users about this.

linsun commented 6 years ago

@artberger which platform are you using when run the curl cmd? This cmd works fine on my mac.

artberger commented 6 years ago

My platform was also Mac, version 10.13.3 (17D102).

nilesh32 commented 6 years ago

@artberger Do you still have this issue?

linsun commented 6 years ago

@artberger pls reopen if you continue to have this prob, works fine for me