摘要: nginx添加stream模块1.20 安装nginx yum install nginx -y 安装依赖 yum -y install libxml2 libxml2-dev libxslt-devel gd-devel perl-devel perl-ExtUtils-Embe perl-dev 阅读全文
posted @ 2021-12-15 10:13 夙愿yu 阅读(1073) 评论(0) 推荐(0) 编辑
摘要: 短信线上发送错误,线下成功 原因一:查看一下对应的code是否是正确的 原因二:查看一下服务器的时间时区是否是正确的,短信发送平台要校验对应的系统时间 Linux虚拟机挂起后自定校准时间 echo "ntpdate edu.ntp.org.cn" >> /etc/profile chmod +s / 阅读全文
posted @ 2021-11-20 11:05 夙愿yu 阅读(74) 评论(0) 推荐(0) 编辑
摘要: Docker笔记 Docker是一个Client-Server结构的系统,Docker的守护进程运行在主机上,通过Socker从客户端访问!Docker Server接收到Docker-Client的指令,就会执行这个指令! 启动一个容器,Docker的运行流程如下图: 安装和配置环境 查看是否安装 阅读全文
posted @ 2021-10-22 22:48 夙愿yu 阅读(201) 评论(0) 推荐(0) 编辑
摘要: MYSQL出现:Out of sort memory, consider increasing server sort buffer size; nested exception is java.sql.SQLException: Out of sort memory, consider incre 阅读全文
posted @ 2021-08-25 17:12 夙愿yu 阅读(2296) 评论(0) 推荐(0) 编辑
摘要: HTTP出现:No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 原因: 当我们进行HTTP发送请求时,有可能出现当前错误,又有很多中可能 1、服务器(tomcat)没有对应的HTTP协议 阅读全文
posted @ 2021-07-09 15:54 夙愿yu 阅读(26116) 评论(1) 推荐(1) 编辑
摘要: 0.学习目标 独立安装Elasticsearch 会使用Rest的API操作索引 会使用Rest的API查询数据 会使用Rest的API聚合数据 掌握Spring Data Elasticsearch使用 1.Elasticsearch介绍和安装 用户访问我们的首页,一般都会直接搜索来寻找自己想要购 阅读全文
posted @ 2021-01-29 15:31 夙愿yu 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 安装宝塔 Centos安装脚本 5.7:yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh yum install -y wget && wget -O 阅读全文
posted @ 2020-06-10 18:50 夙愿yu 阅读(202) 评论(0) 推荐(0) 编辑
摘要: SpringBoot深入理解 项目打包SpringBoot启动过程 当使用打包时,会下载org-springframework-boot-loader的jar,并且不会放在lib存放的第三方jar包文件中,该jar包中有个JarLauncher.class文件中设置了jar包运行时的入口和打包后文件 阅读全文
posted @ 2020-05-29 23:20 夙愿yu 阅读(846) 评论(0) 推荐(1) 编辑
摘要: SpringBoot-yml文件配置说明 ####友情提示:有一些代码中有乱码,请脑补删除,适合快速入门 #开启spring的Bebug模式,可以查看有哪些自动配置生效 #debug=true #开启热启动,关闭thymeleaf的缓存 spring.thymeleaf.cache=false #s 阅读全文
posted @ 2020-05-29 23:19 夙愿yu 阅读(187) 评论(0) 推荐(0) 编辑
摘要: gradle gradle tasks :查看所有的taske命令 bootJar:打包,讲项目的所有依赖和主工程代码打包,一个可直接执行的一个包,不需要tomcat运行 gradle使用bootjar打包后后,解压出来的三个目录 BOOT-INF: ​ classes:存放java文件编译后的cl 阅读全文
posted @ 2020-05-29 23:14 夙愿yu 阅读(565) 评论(0) 推荐(0) 编辑