linux - 在 Ubuntu 中使用 websockets 安装 Mosquitto?

标签 linux ubuntu amazon-ec2 mosquitto libwebsockets

我正在关注 this在 Ubuntu 服务器 (Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64)) Amazon EC2 中使用 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。我应该如何从这里开始?请帮忙。

最佳答案

我遇到了同样的问题。 我在这里找到了文件: https://libwebsockets.org/git/libwebsockets/tag/?h=v1.4-chrome43-firefox-36

关于linux - 在 Ubuntu 中使用 websockets 安装 Mosquitto?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36955862/

相关文章:

linux - 在 CentOS 6 上安装 OTRS 期间重新启动 httpd 时出错

ruby - Rails 延迟的工作在暂存时停止

php - Composer 安装 : the json extension is missing

javascript - node.js 脚本可以在命令行下运行,但不能在浏览器上运行?

amazon-web-services - 更改 AWS AMI 名称

python - 如何结合使用github和ec2来部署python应用

linux - 如何在Linux中读取grep命令结果?

ubuntu - 由于 ros-latest.list 文件,无法更新 ROS

ubuntu - 如何获取 ubuntu launchpad/bazaar 包?

r - 如何从 Rstudio 服务器使用 Oauth?