摘要: 0. 环境 win10, qt 6.3.11. 下载源代码 mqtt: https://github.com/qt/qtmqtt, 找到对应的tag, 比如:6.3.1, 然后下载.zip文件。 perl: https://strawberryperl.com, 选64位下载。2. 安装perl, 阅读全文
posted @ 2023-08-29 15:10 北极熊129 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 这是一个简单的字符驱动程序,有open, close, read, write 功能,还有 ioctl() 功能 0. 准备 新建 /opt/driver/char2文件夹,在里面创建4个文件: char2.c, test_char2.c, driver_ioctl.h, Makefile 1. c 阅读全文
posted @ 2023-02-08 23:14 北极熊129 阅读(44) 评论(0) 推荐(0) 编辑
摘要: protocol buffers 编译 阅读全文
posted @ 2022-02-23 13:24 北极熊129 阅读(370) 评论(0) 推荐(0) 编辑
摘要: --link必须要有,否则不好用 sudo docker run -d \--name kafka -p 9092:9092 \--link zookeeper:zookeeper \-e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://192.168.1.85:909 阅读全文
posted @ 2021-05-08 13:01 北极熊129 阅读(195) 评论(0) 推荐(0) 编辑
摘要: traefik是k3s(不道k3s是啥?赶紧搜下吧) 带的一个ingress-controller。因为当初k8s安装nginx-ingress和ingress-nginx两个东西时,费了好大的劲,想着或许traefik比那两个货好安装点吧。就想试下。 1. 安装traefik apiVersion 阅读全文
posted @ 2021-05-07 14:09 北极熊129 阅读(1836) 评论(1) 推荐(0) 编辑
摘要: 1. 安装 tf卡, 最好是高速卡,我的是sandisk extreme, 64G。 之前买了两个128G,比较便宜,不过不好用啊,特别慢。所以tf卡一定要用好的,64G就行。 ubuntu镜像,从raspberry pi官网下。 用balenaEtcher-Portable-1.5.115.exe 阅读全文
posted @ 2021-04-16 12:29 北极熊129 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 2020.4.16 这个方法也适用于 ubuntu 20.04 lts arm64 版本。 1. 问题描述 系统是 armhf-lite版, 使用 SSH secure client 不能连接, 提示“Algorighm negotiation failed.” 2. 分析: 网上找了下,有个说要在 阅读全文
posted @ 2021-04-12 10:49 北极熊129 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 内存要大,最好4G以上。# docker pull gitlab/gitlab-ce# docker run -d -p 8443:443 -p 8090:8090 这两个端口号要写一样, 不能这样:8090:80, 以前的版本不知道, 我这个是这样的。 进到容器里,安装了netstat才发现,gi 阅读全文
posted @ 2020-09-10 20:40 北极熊129 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 1 {bcrypt}$2a$10$vCXMWCn7fDZWOcLnIEhmK.74dvK1Eh8ae2WrWlhr2ETPLoxQctN4. 2 {noop}plaintextpassword 1 @Bean 2 public PasswordEncoder passwordEncoder() { 阅读全文
posted @ 2020-09-07 11:58 北极熊129 阅读(244) 评论(0) 推荐(0) 编辑
摘要: MongoRepository的继承层次: (parent: spring boot 2.3.2) Repository \___ CrudRepository - save(),saveAll(),findById(),existsById(),findAll(),findAllById(),co 阅读全文
posted @ 2020-09-03 12:24 北极熊129 阅读(444) 评论(0) 推荐(0) 编辑