gpt4 book ai didi

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

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:10:59 24 4
gpt4 key购买 nike

我正在关注 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com