【问题标题】:Install Mosquitto with websockets in Ubuntu?在 Ubuntu 中使用 websockets 安装 Mosquitto?
【发布时间】:2016-05-01 05:12:04
【问题描述】:

我正在按照 this 教程在 Ubuntu 服务器 (Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64))at 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。我应该如何从这里开始?请帮忙。

【问题讨论】:

    标签: linux ubuntu amazon-ec2 mosquitto libwebsockets


    【解决方案1】:

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

    【讨论】:

    • 非常感谢!这个文件很干净! :) 我认为他们试图掩盖旧版本的可用性?或者它可能只是我..无论如何,存档这个文件以备将来使用..
    • 该链接上的文件现在似乎已失效
    猜你喜欢
    • 2015-10-18
    • 1970-01-01
    • 1970-01-01
    • 2020-07-20
    • 1970-01-01
    • 2015-10-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多