panyongwei / ngrok

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

请问这是什么原因

cymok opened this issue · comments

commented

[root@vultr home]# chmod +x ngrok.sh
[root@vultr home]# sh ./ngrok.sh
./ngrok.sh: line 7: syntax error near unexpected token newline' ./ngrok.sh: line 7: '
[root@vultr home]#

commented

用的是CentOS 6

上面说了语法错误,你是怎么得到这个ngrok.sh文件的

wget –no-check-certificate https://raw.githubusercontent.com/sunnyos/ngrok/master/ngrok.sh
chmod +x ngrok.sh
sh ./ngrok.sh