07 2019 档案
摘要:1. 在linux服务器上运行Jar文件时通常的方法是: $ java -jar test.jar 这种方式当ssh窗口关闭时,程序中止运行,或者是运行时没法切出去执行其他任务 2. 保持程序后台运行 $ nohup java -jar test.jar & 在ubuntu下直接sudo java
阅读全文
Job for nginx.service failed because the control process exited with error code. See “systemctl stat
摘要:启动nginx服务时如果遇到这个错误 Job for nginx.service failed because the control process exited with error code. See “systemctl stat 可能原因如下: 1.nginx配置文件有错误运行下面命令查看
阅读全文
摘要:一、简介 Nginx是一款轻量级的网页服务器、反向代理服务器。相较于Apache、lighttpd具有占有内存少,稳定性高等优势。它最常的用途是提供反向代理服务。 二 、安装 1、准备工作 Nginx的安装依赖于以下三个包,意思就是在安装Nginx之前首先必须安装一下的三个包,注意安装顺序如下: 1
阅读全文
摘要:1、利用to_days函数查询今天的数据: select * from 表名 where to_days(时间字段名) = to_days(now()); to_days函数:返回从0000年(公元1年)至当前日期的总天数。2、昨天SELECT * FROM 表名 WHERE TO_DAYS( NO
阅读全文
摘要:在应用入口加入@MapperScan("com.IBM.XXXXX.dao")
阅读全文
摘要:1. 从https://start.spring.io/的spring initializr生成demo,使用默认的2.1.6.release(2019年7月10日) 2. 在eclipse加载后,pom.xml会报unknown error。 3.使用maven--update project..
阅读全文
摘要:1.下载Apache-jmeter-5.1.1.zip 2.解压到一个地方,就可以开始使用了,如果需要在CMD里快速打开,可以设置环境变量。 3.在bin里面,直接打开jmeter.bat。 可以修改testplan的名字 4.在左边任务栏TestPlan右键,选择Add--Threads(User
阅读全文