摘要: stop.sh pid=$(ps -ef | grep admin-demo-0.0.1-SNAPSHOT.jar | grep -v grep | awk '{print $2}') if [ -z $pid ];then echo "服务未启动" else echo "服务已停止" kill - 阅读全文
posted @ 2022-11-24 16:55 Devan.Yan 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 下载 下载地址 : https://dev.mysql.com/downloads/mysql/ -- 下载地址 wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-community-client-plugins-8.0.25-1.el 阅读全文
posted @ 2021-06-23 16:42 Devan.Yan 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 1.抓取数据 -- 查看慢查询收集是否开启 SHOW VARIABLES LIKE 'slow_query%'; -- 开启慢查询收集 SET GLOBAL slow_query_log='ON'; -- 查看慢查询收集的阈值 SHOW VARIABLES LIKE 'long_query_time 阅读全文
posted @ 2021-06-17 10:46 Devan.Yan 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 参考:https://jingyan.baidu.com/article/d621e8da6565ba2864913f47.html 原因CMD默认编码可能是 GBK 修改编码即可 修改方式:打开 cmd 输入 :chcp 936 代表的就是GBK 二、修改 输入:chcp 65001 表示已经改为 阅读全文
posted @ 2021-03-30 10:59 Devan.Yan 阅读(769) 评论(0) 推荐(0) 编辑
摘要: SELECT 6371 * acos( cos(radians(A点.latitude_f)) * cos(radians(B点.latitude_y)) * cos( radians(B点.longitude_y) - radians(A点.longitude_f) ) + sin(radians 阅读全文
posted @ 2021-03-16 22:15 Devan.Yan 阅读(397) 评论(0) 推荐(0) 编辑
摘要: // ,非原创, 博客原地址 : https://blog.csdn.net/ma969070578/article/details/41013547public class Gps { private double wgLat; private double wgLon; public Gps(d 阅读全文
posted @ 2021-01-19 14:55 Devan.Yan 阅读(1854) 评论(0) 推荐(0) 编辑
摘要: 修改项目字符编码 File -> Setting -> Editor -> File Encodings 改成UTF-8 1.自动优化导入 File -> Setting -> Editor -> Auto Import -> |✔| Optimize imports on the fly 2.左侧 阅读全文
posted @ 2020-09-12 11:51 Devan.Yan 阅读(133) 评论(0) 推荐(0) 编辑
摘要: Nacos 启动报错 版本 1.3.1 Caused by: com.alibaba.nacos.api.exception.NacosException: java.net.UnknownHostException: jmenv.tbsite.net at com.alibaba.nacos.co 阅读全文
posted @ 2020-09-03 16:47 Devan.Yan 阅读(3338) 评论(0) 推荐(0) 编辑
摘要: 1.展示多服务窗口 修改配置文件 .idea > workspace.xml 找到 RunDashboard 节点,做如下修改 <component name="RunDashboard"> <option name="configurationTypes"> <set> <option value 阅读全文
posted @ 2020-09-01 09:22 Devan.Yan 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 非原创,来源网络,仅做笔记 参数说明redis.conf 配置项说明如下:1. Redis默认不是以守护进程的方式运行,可以通过该配置项修改,使用yes启用守护进程 daemonize no2. 当Redis以守护进程方式运行时,Redis默认会把pid写入/var/run/redis.pid文件, 阅读全文
posted @ 2020-08-15 12:43 Devan.Yan 阅读(1378) 评论(0) 推荐(0) 编辑