摘要: 当前使用linux centos8系统 # 安装时直接配置 # nginx 源码包在 /wwwroot/wnmp/nginx-1.18.0 cd /wwwroot/wnmp/nginx-1.18.0 ./configure --with-http_ssl_module make make insta 阅读全文
posted @ 2022-03-31 15:36 荣超 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 命令别名问题 主要复制文件比较多时一直提示比较麻烦 cp -i 表示有同名文件覆盖时会提示 1、到相应文件修改别名 # vi /root/.bashrc 将里面的alias cp='cp -i' 注释 然后执行命令 # source /root/.bashrc 或者. /root/.bashrc 使 阅读全文
posted @ 2022-03-31 15:08 荣超 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 引入jar包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-validation</artifactId> </dependency> 声明验证策略 // 执行插入时的 阅读全文
posted @ 2022-03-31 14:56 荣超 阅读(174) 评论(0) 推荐(0) 编辑
摘要: springboot 中使用 1.静态定时任务 添加注解 @EnableScheduling 在使用需要定时任务的方法上添加 @Scheduled(cron = "0 0/1 * * * ?") 这里使用了cron表达式 @Scheduled 的参数 1、cron cron表达式 2、zone 设置 阅读全文
posted @ 2022-03-31 14:45 荣超 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 使用步骤: 1 添加一个线程组 右键测试计划 查看一下线程组的具体参数 2.在线程组下添加http请求 我这里使用body json方式提交参数 所以使用消息体数据配置参数 3.配置查看结果树 主要用来查看执行结果 4.配置相应中文乱码问题 方式1:添加BeanShell后置处理器 添加 脚本 pr 阅读全文
posted @ 2022-03-31 14:23 荣超 阅读(32) 评论(0) 推荐(0) 编辑