摘要: PDF 转 Word,Excel,PPT,JPG 的网址:https://smallpdf.com/cn/pdf-to-word PDF 转 Markdown 的网址:https://pdf2md.morethan.io/ PDF 转 HTML 的网址:https://www.pdftohtml.n 阅读全文
posted @ 2022-09-19 15:26 坤王 阅读(964) 评论(0) 推荐(0) 编辑
摘要: 1. 函数式接口 定义:接口中只有一个抽象方法的接口称为函数式接口,在接口上使用@FunctionalInterface标记 | 类型 | 接口名 | 抽象方法 | | | | | | 消费型接口 | Consumer | void accept(T t) | | 供给型接口 | Supplier 阅读全文
posted @ 2022-09-06 17:18 坤王 阅读(68) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2022.cnblogs.com/blog/2787690/202207/2787690-20220725190635472-1766406255.png) 阅读全文
posted @ 2022-07-25 19:07 坤王 阅读(38) 评论(0) 推荐(0) 编辑
摘要: ab测试工具:httpd-tools yum install -y httpd-tools ab -n(一次发送的请求数) -c(请求的并发数) 访问路径 测试如下:5000请求,100并发 ab -n 5000 -c 100 http://192.168.6.100:8206/admin/prod 阅读全文
posted @ 2022-06-27 07:53 坤王 阅读(47) 评论(0) 推荐(0) 编辑
摘要: nginx被安装在了 /usr/local/nginx包下 启动 /usr/local/nginx/sbin/nginx 关闭 /usr/local/nginx/sbin/nginx -s stop 重新加载 /usr/local/nginx/sbin/nginx -s reload 启动track 阅读全文
posted @ 2022-06-20 21:57 坤王 阅读(233) 评论(1) 推荐(2) 编辑
摘要: 可使用EasyCode插件生成Controller,Service,Mapper.java, 使用MybatisX插件生成entity和mapper.xml controller.java.vm ##导入宏定义 $!{define.vm} ##设置表后缀(宏定义) #setTableSuffix(" 阅读全文
posted @ 2022-06-19 15:39 坤王 阅读(724) 评论(0) 推荐(0) 编辑
摘要: linux安装zookeeper 下载地址: Apache ZooKeeper 安装: 创建安装目录 # mkdir /myzookeeper 拷贝进入到/myzookeeper目录下并解压 [root@localhost myzookeeper]# tar -zxvf zookeeper-3.4. 阅读全文
posted @ 2022-05-11 07:28 坤王 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 下载地址 https://github.com/alibaba/Sentinel/tags 前提 java8环境OK 8080端口不能被占用 命令 java -jar sentinel-dashboard-1.7.0.jar 访问sentinel管理界面 http://localhost:8080 阅读全文
posted @ 2022-05-10 17:58 坤王 阅读(28) 评论(0) 推荐(0) 编辑
摘要: docker安装nacos docker pull nacos/nacos-server:1.2.0 docker run --env MODE=standalone --name nacos --restart=always -d -p 8848:8848 nacos/nacos-server:1 阅读全文
posted @ 2022-05-10 17:17 坤王 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 下载地址 https://www.elastic.co/cn/downloads/elasticsearch Linux安装ElasticSearch 1、上传ElasticSearch安装包 elasticsearch-7.4.0-linux-x86_64.tar.gz 2、执行解压操作 # 将e 阅读全文
posted @ 2022-05-07 16:25 坤王 阅读(163) 评论(0) 推荐(0) 编辑