最新发布第81页
排序
MySQL开启慢查询记录的两种方式
我们可以指定MySQL记录下查询时间超过指定值的SQL记录,并将这些SQL记录称为“慢查询记录”。 慢查询会导致CPU,内存消耗过高。数据库服务器压力陡然过大,那么大部分情况来讲,肯定是由某些慢...
hexo部署项目报错解决:The “mode” argument must be integer(无需node降版本)
hexo将项目部署到git报错信息如下: FATAL { err: TypeError [ERR_INVALID_ARG_TYPE]: The 'mode' argument must be integer. Received an instance of Object at copyFile (fs.js:1972:10) 解...
Nginx 403 forbidden错误常见情形盘点
配置完网站代码之后,重启nginx出现403 forbidden错误,日志错误信息如下: 2021/09/23 08:55:47 [error] 63305#63305: *32 '/root/www/index.html' is forbidden (13: Permission denied), cli...
nginx upstream permission denied错误解决
nginx报错日志出现如下信息: 2021/09/23 14:06:46 [crit] 66317#66317: *4363 connect() to 127.0.0.1:21613 failed (13: Permission denied) while connecting to upstream, client: 112.8.21...
如何通过非80端口为你的域名申请Certbot证书
如letsencrypt官方说明所述:开放 80 端口并不会在服务器中引入更大的攻击面,因为 80 端口和 443 端口通常由同样的软件提供服务。但是如果确实你的Web服务器通过防火墙封闭了80端口,而且你仍...
使用ufw在Debian系统配置防火墙
写在前面:开启防火墙后记得开放22端口,防止自己在开启防火墙后连不上主机! 如果预先没有安装ufw(Uncomplicated Firewall),需要先安装一下。 安装(Ubuntu & Debian) sudo apt-get instal...
Springboot集成redis报错:java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig
Springboot集成redis报错信息如下: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error c...
Spring Boot集成Redis
这是一个Springboot项目中整合Redis的示例。 1.引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis<...
pom.xml文件spring-boot-maven-plugin报错
IntelLij Idea maven配置文件pom.xml报错,解决办法是加入版本号。 <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-...