iT邦幫忙

0

在GCP試用版上安裝Redash失敗

  • 分享至 

  • xImage

已經在GCP試用版上佈署redash
https://ithelp.ithome.com.tw/upload/images/20221106/20154456n0OgOqYb0g.png

執行下面這指令
$ wget https://github.com/getredash/setup/blob/master/setup.sh

跑出這個
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘setup.sh’

setup.sh [ <=> ] 168.36K --.-KB/s in 0.02s

2022-11-06 13:58:51 (7.30 MB/s) - ‘setup.sh’ saved [172405]

然後輸入$ sudo bash setup.sh後
跑出setup.sh: line 8: syntax error near unexpected token newline' setup.sh: line 8: '

請問是哪個步驟出問題了嗎?
搞了整天都沒辦法成功安裝redash好焦躁啊/images/emoticon/emoticon02.gif

nansen iT邦新手 2 級 ‧ 2022-11-07 09:32:49 檢舉
打開下載的shell檔案看看,應該是html不是shell script
github應該要下載raw開頭的網址
https://raw.githubusercontent.com/getredash/setup/master/setup.sh
朵容 iT邦新手 5 級 ‧ 2022-11-10 08:52:27 檢舉
順利解決!非常感謝您~~~~
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答