上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 36 下一页
摘要: 一:云服务器禁用25端口导致发邮件失败:Couldn't connect to host, port: smtp.example.com 有两种解决方法: 1. 向云厂商申请解封25端口 2. 改用465端口ssl加密发送。 465端口是为SMTPS... 阅读全文
posted @ 2022-08-11 18:49 码海兴辰 阅读(137) 评论(0) 推荐(0)
摘要: 1.邮箱支持引入到pom org.springframework.boot spring-boot-starter-mail cn.hutool ... 阅读全文
posted @ 2022-08-11 18:49 码海兴辰 阅读(78) 评论(0) 推荐(0)
摘要: 可以通过删除命令进行删除,注意点这里的time是到纳米的毫秒换算纳米加6个0 delete from DQ05 where time = 1651334400000000000 阅读全文
posted @ 2022-08-11 18:49 码海兴辰 阅读(34) 评论(0) 推荐(0)
摘要: 由于MySQL在CentOS7中收费了,所以已经不支持MySQL了,取而代之在CentOS7内部集成了mariadb,而安装MySQL的话会和MariaDB的文件冲突。所以本文建议直接安装mariadb。 输入命令 systemctl start mysql... 阅读全文
posted @ 2022-08-11 18:49 码海兴辰 阅读(1578) 评论(0) 推荐(0)
摘要: springboot项目,部署到服务器后,运行一段时间后,处理一些文件上传的接口时,后报异常。 Could not parse multipart servlet request; nested exception is java.io.IOException... 阅读全文
posted @ 2022-08-11 18:49 码海兴辰 阅读(142) 评论(0) 推荐(0)
摘要: 这几天在项目中导入源码时,发现 import javax.annotation.Nullable处报错。 仔细观察,发现在JDK中javax.annotation文件夹下并没有Nullable这个类。 引入依赖: ... 阅读全文
posted @ 2022-08-11 18:49 码海兴辰 阅读(424) 评论(0) 推荐(0)
摘要: server { listen 8017; #server_name anitt.cn; # Vue路由模式为history需添加的配置 location / { if ... 阅读全文
posted @ 2022-08-11 18:49 码海兴辰 阅读(38) 评论(0) 推荐(0)
摘要: package com.toncent.core.shiro.filter;import org.springframework.stereotype.Component;import javax.servlet.*;import javax.servlet.... 阅读全文
posted @ 2022-08-11 18:49 码海兴辰 阅读(55) 评论(0) 推荐(0)
摘要: 在 linux 上搭建 mqtt 服务器并不难,主要就是用到了 mosquitto 这款消息代理服务软件。其采用发布 / 订阅模式传输机制,轻量、简 单、开放并易于实现,被广泛应用于物联网之中。 Linux 版本: centos7.... 阅读全文
posted @ 2022-08-11 18:49 码海兴辰 阅读(398) 评论(0) 推荐(0)
摘要: 使用root身份编辑云服务器的ssh登录方式。 su root vi /etc/ssh/sshd_config 修改如下配置项: 把PasswordAuthentication no 改为 PasswordAuthentication yes 或去掉Pas... 阅读全文
posted @ 2022-08-11 18:49 码海兴辰 阅读(57) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 36 下一页