知识分享 博客

0

paho.mqtt.c

paho.mqtt.c

https://github.com/eclipse/paho.mqtt.c

https://docs.emqx.com/zh/cloud/latest/connect_to_deployments/c_sdk.html#%E5%AE%8C%E6%95%B4%E4%BB%A3%E7%A0%81

1、

sudo apt-get update
sudo apt-get -y install build-essential git cmake

2、

git clone https://github.com/eclipse/paho.mqt[……]

继续阅读

0

MQTT服务器部署

 

安装 Mosquitto

https://learningsky.io/install-mosquitto-mqtt-message-broker-on-raspberry-pi-and-python-publish-subscription/

systemctl daemon-reload
使用systemctl命令来控制frpc
#启动
sudo systemctl start frpc
#关闭
sudo systemctl stop frpc
#重启
sudo systemctl restart frpc
#查看状态
sudo sy[……]

继续阅读

0

端口转发工具Rinetd详细入门教程

端口转发工具Rinetd详细入门教程

https://juejin.cn/post/7241153603658301477

Rinetd是一个用于端口转发的工具,它可以将来自一个端口的流量转发到另一个指定的端口。以下是Rinetd的详细入门教程:

ubuntu下载工具

sudo apt update

sudo apt install -y rinetd

sudo nano /etc/rinetd.conf

vi /etc/rinetd.conf

加入如下:

(本地IP地址端口号不变,网络架构由本地改为4G无线方式连接)

local[……]

继续阅读

0

github清除通知

github清除通知

Settings=》Notifications=》Subscriptions  View watched repositories.=》Unwatch ,修改为:Ignore

[……]

继续阅读

0

word分页设置前一页后一页横向纵向

word分页设置前一页后一页横向纵向

一、word设置前一页和后一页 纵向、横向分开,设置方案如图所示

一、插入=》分页                   二、布局=》分节符 下一页                                 

                                                                     

二、布局=》分节符 下一页

二、去掉首页,目录页码展示 ,从指定页面设置页码

1、插入=》页码=》设置页码格式=》起始页码 1

2、链接到前一节=》默认选择去掉[……]

继续阅读

0

apache https ssl配置

xampp Ubuntu 22.04

一、https ssl证书申请 apache ssl系列证书

1、延期或申请新的ssl证书

https://www.51ssl.com/orders

2、延长

二、Ubuntu 22.04

 

1、xampp https apache ssl证书配置:

1)/opt/lampp/etc/ssl.key

chanking.zhonjin.com_key.key 复制到 /opt/lampp/etc/ ssl.key

2)/opt/lampp/etc/ssl.crt

chanking.zh[……]

继续阅读