2016-04-30 87 views
1

我正在關注this教程,在Amazon EC2的Ubuntu服務器(Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64))中使用libwebsockets設置Mosquitto。在Ubuntu中使用websockets安裝Mosquitto?

當我嘗試設置Libwebsockets的此特定版本(v1.4支持的Mosquitto)時,它表示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 

OK,我嘗試下載相同的(在Windows中)和提取,但它返回一個EOF錯誤。我無法從其他地方找到圖書館。

來自GitHub的新websocket沒有用,因爲它不支持Mosquitto。我應該如何從這裏出發?請幫忙。

回答