最新发布第17页
MySQL max_allowed_packet错误解决-Ddmit

MySQL max_allowed_packet错误解决

MySQL查询报错: ### Error querying database. Cause: com.mysql.cj.jdbc.exceptions.PacketTooBigException: Packet for query is too large (2,482 > 2,048). You can change this value ...
ddmit的头像-DdmitDdmit4年前
013520
ZooKeeper伪分布式部署及真分布式环境部署步骤-Ddmit

ZooKeeper伪分布式部署及真分布式环境部署步骤

搭建之前,先自行下载安装文件,配置hosts文件等操作。 下载页面:http://zookeeper.apache.org/releases.html,下载apache-zookeeper-3.7.0-bin.tar.gz文件; 配置/etc/hosts文件,添加127.0.0...
ddmit的头像-DdmitDdmit4年前
010200
zookeeper启动报错:Address unresolved-Ddmit

zookeeper启动报错:Address unresolved

ZOOKEEPER节点启动报错信息如下: 2021-10-17 12:20:18,528 [myid:] - INFO [main:QuorumPeerConfig@174] - Reading configuration from: /home/michael/apache-zookeeper-3.7.0-bin/conf/zoo1....
ddmit的头像-DdmitDdmit4年前
018080
使用scp命令批量拷贝多个文件到远程服务器-Ddmit

使用scp命令批量拷贝多个文件到远程服务器

向将本地的某个文件,复制到多个远程服务器,操作步骤如下。 1.配置免密登录,过程参考:使用SSH密钥登录让Linux VPS服务器更安全; 2.编辑脚本scp-file.sh,内容如下: #!/bin/bash servers=('2...
ddmit的头像-DdmitDdmit4年前
011700
您似乎与家庭管理员不在同一个国家/地区-Youtube印度区开车后换区操作过程-Ddmit

您似乎与家庭管理员不在同一个国家/地区-Youtube印度区开车后换区操作过程

测试成功时间:2021年10月09日 我挂印度区代理开通YOUTUBE PREMIUM家庭套餐(因为印度区便宜,18元每月,可以另外邀请5个成员)之后,邀请成员加入,结果提示您似乎与家庭管理员不在同一个国家/地...
ddmit的头像-DdmitDdmit4年前
014700
Linux如何查看磁盘/内存利用情况的最全方式-Ddmit

Linux如何查看磁盘/内存利用情况的最全方式

在linux上,几乎所有命令都有,因为gui可能并不总是可用。在服务器上工作时,仅可使用shell访问,并且必须通过这些命令完成所有操作。这里介绍可用于检查linux系统上的内存使用情况的命令。内存...
ddmit的头像-DdmitDdmit4年前
015910
MySQL合理设置最大连接数、最大并发数(持久化设置)-Ddmit

MySQL合理设置最大连接数、最大并发数(持久化设置)

当程序出现MySQL: ERROR 1040: Too many connections的错误信息时,抛却真的是访问量过高,MySQL服务器抗不住的情形,还有一种原因:你的MySQL数据库设置的max_connections值过小。 一、查看设...
ddmit的头像-DdmitDdmit4年前
016150
Spring Boot集成Redis-Ddmit

Spring Boot集成Redis

这是一个Springboot项目中整合Redis的示例。 1.引入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis<...
ddmit的头像-DdmitDdmit4年前
09150
Springboot集成redis报错:java.lang.NoClassDefFoundError: org/apache/commons/pool2/impl/GenericObjectPoolConfig-Ddmit

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...
ddmit的头像-DdmitDdmit4年前
016470
如何通过非80端口为你的域名申请Certbot证书-Ddmit

如何通过非80端口为你的域名申请Certbot证书

如letsencrypt官方说明所述:开放 80 端口并不会在服务器中引入更大的攻击面,因为 80 端口和 443 端口通常由同样的软件提供服务。但是如果确实你的Web服务器通过防火墙封闭了80端口,而且你仍...