我正在按照本(Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64))
教程在 Amazon EC2的 Ubuntu 服务器中使用 libwebsockets 设置 Mosquitto 。
当我尝试设置 Libwebsockets 的这个特定版本(Mosquitto 支持的 v1.4)时,它说 gzip 已损坏。
$ wget http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.4-chrome43-firefox-36.tar.gz
$ tar zxvf libwebsockets-1.4-chrome43-firefox-36.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
好的,我尝试下载相同的文件(在 Windows 中)并解压缩,但它返回了EOF错误。而且我在其他任何地方都找不到图书馆。
来自 GitHub 的新 websocket 没有用,因为它不支持 Mosquitto。我应该如何从这里开始?请帮忙。