linux
zhangliangfeng412
这个作者很懒,什么都没留下…
展开
-
curl的http post功能
1.交叉编译curl1.下载 openssl https://www.openssl.org/source/2.post$ ./configure --host=arm-linux --with-ssl --enable-static --prefix=$PWD/__install$ make$ make install/******************************************************************************* * Func原创 2021-03-15 14:11:25 · 1144 阅读 · 0 评论 -
libevent的http服务器
arm linux下用libevent搭建http服务器1.下载安装libeventlibevent下载地址:https://libevent.org/解压:libevent-2.1.12-stable.tar.gz交叉编译: ./configure --host=arm-xmv2-linux-uclibcgnueabi CPPFLAGS="-I/opt/xm_toolchain/arm-xmv2-linux/usr/include" LDFLAGS="-L/opt/xm_toolchain/arm原创 2021-03-15 13:57:55 · 444 阅读 · 0 评论 -
arm linux下MQTT订阅消息客户端
需要使用到mosquitto的库下载地址:https://mosquitto.org/download/编译安装mosquito我们先解压,然后执行make, make install。 在执行make的时候我们发现需要安装openssl-dev,可以根据提示安装openssl-dev解压命令:tar -zxvf mosquitto-1.5.tar.gz编译和安装命令make, make installmqtt client/* * @name: * @Author: zlf * @m原创 2021-03-03 15:32:40 · 521 阅读 · 1 评论