摘要: docker一键部署 docker pull javpower/pdocr:v4.0.1 docker run --name mycontainer -d -p 6888:6888javpower/pdocr:v4.0.1 阅读全文
posted @ 2024-05-11 11:10 生活无限美 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1.、确保 mysql server 已经停止运行查询mysql server 是否处于运行状态: /usr/local/mysql/support-files/mysql.server status 2、如果正在运行,则将其停止: /usr/local/mysql/support-files/my 阅读全文
posted @ 2023-06-19 10:06 生活无限美 阅读(141) 评论(0) 推荐(0) 编辑
摘要: pid=`ps -ef | grep xxxx | grep -v grep |awk '{print $2}'` if [ -n "$pid" ]; then echo :App is running pid=$pid kill -9 $pid fi nohup java -jar xxxx >/ 阅读全文
posted @ 2022-07-13 11:26 生活无限美 阅读(223) 评论(0) 推荐(0) 编辑
摘要: location /mqtt { proxy_pass http://xxxx:port/ws; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade" 阅读全文
posted @ 2021-11-15 16:52 生活无限美 阅读(1046) 评论(0) 推荐(0) 编辑
摘要: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev 阅读全文
posted @ 2021-03-04 11:29 生活无限美 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 首先模仿接口insertList接口: /** * Created by kun.zuo * Created by time 2020/12/29 * Vsrsion 1.0 */ public class SpecialBatchProvider extends MapperTemplate { 阅读全文
posted @ 2021-01-06 13:59 生活无限美 阅读(6269) 评论(1) 推荐(0) 编辑
摘要: <insert id="addUsers"> INSERT INTO USER(age,sex) VALUES <foreach collection="users" item="user" separator=","> (#{user.age},#{user.sex}) </foreach> </ 阅读全文
posted @ 2020-12-31 16:21 生活无限美 阅读(206) 评论(0) 推荐(0) 编辑
摘要: nohup java -Dserver.port=8849 -Dcsp.sentinel.dashboard.server=localhost:8849 -Dproject.name=sentinel-dashboard-1.7.0 -jar sentinel-dashboard-1.7.0.jar 阅读全文
posted @ 2020-11-30 11:47 生活无限美 阅读(2043) 评论(0) 推荐(0) 编辑
摘要: 创建函数: ALTER FUNCTION [dbo].[GetEventSequence] ( ) RETURNS char(16) AS BEGIN DECLARE @dt CHAR(8) SELECT @dt=CONVERT(CHAR(8),GETDATE(),112) RETURN( SELE 阅读全文
posted @ 2020-10-09 20:46 生活无限美 阅读(239) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/jxd283465/p/11550291.html添加用户:groupadd sonarqube useradd sonarqube -g sonarqube -p sonarqube chown -R sonarqube /sonarqube-6.7 阅读全文
posted @ 2020-10-09 10:08 生活无限美 阅读(185) 评论(0) 推荐(0) 编辑