摘要: ## docker镜像的导入和导出 #### 镜像导出 ``` docker save > 生成路径/[镜像名].tar 镜像ID docker save 镜像ID > [镜像名].tar docker save -o [镜像名].tar 镜像ID 镜像ID 镜像ID(可多个images打包成一个) 阅读全文
posted @ 2023-07-06 15:54 kanie_life 阅读(168) 评论(0) 推荐(0) 编辑
摘要: ### 打开官网,选择安装方式 [官网地址](https://www.emqx.io/downloads) ### 下面是服务器centOS,架构:amd64的安装 ##### 1)下载 wget https://www.emqx.com/zh/downloads/broker/4.4.4/emqx 阅读全文
posted @ 2023-07-06 11:56 kanie_life 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 1、docker拉取 docker pull eclipse-mosquitto 2、查看镜像 docker images 3、建立配置目录 mkdir -p /mnt/mosquitto/config mkdir -p /mnt/mosquitto/data mkdir -p /mnt/mosqu 阅读全文
posted @ 2022-11-13 00:06 kanie_life 阅读(770) 评论(0) 推荐(0) 编辑
摘要: 1、更新yum包到最新 ``` sudo yum update ``` 2、卸载历史Docker,如果没有安装过,则跳过该步 ``` sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ doc 阅读全文
posted @ 2022-11-12 16:04 kanie_life 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 1、查询文件: whereis mosquitto whereis mosquitto_sub 2、删除查询到的文件,命令: rm -rf /etc/mosquitto rm -f /usr/local/sbin/mosquitto rm -f /usr/local/bin/mosquitto_su 阅读全文
posted @ 2022-11-11 11:25 kanie_life 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 当使用group by的语句中,select后面跟的列,在group by后面没有时,会报以下错误: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'XXX' whic 阅读全文
posted @ 2022-09-05 20:16 kanie_life 阅读(2424) 评论(0) 推荐(1) 编辑
摘要: 注解@Param有以下两种: 1、Spring org.springframework.data.repository.query.Param 2、mybatis org.apache.ibatis.annotations.Param 两者的区别在于: spring的注解参数按照先后顺序传入,如[a 阅读全文
posted @ 2022-08-22 21:54 kanie_life 阅读(323) 评论(0) 推荐(0) 编辑
摘要: ####一、问题 运行该指令的程序找不到phantomjs这个指令 ####二、解决 1、配置全局变量 ###注意!!! 要配置系统变量,只配置用户变量,可能还会出现该错误。ps:我就是只配置用户变量,导致一直出错。。。 2、配置完后需要重启电脑。 阅读全文
posted @ 2022-06-09 18:05 kanie_life 阅读(1006) 评论(0) 推荐(0) 编辑
摘要: 看看下面的例子,这样输出什么呢? public class test { public static void main(String[] args) { String arr = "ab,cb,ef"; List<String> list = Arrays.asList(arr); System. 阅读全文
posted @ 2022-02-28 16:55 kanie_life 阅读(96) 评论(0) 推荐(0) 编辑
摘要: api.dispatchAction({ // 刷选模式的开关。使用此 action 可将当前鼠标变为可刷选状态。 事实上,点击 toolbox 中的 brush 按钮时,就是通过这个 action,将当前普通鼠标变为刷选器的。 type: 'takeGlobalCursor', // 如果想变为“ 阅读全文
posted @ 2021-12-08 11:08 kanie_life 阅读(2300) 评论(0) 推荐(0) 编辑