查看内存信息free -h查看目录大小du -sh * (*代表当前目录下所有文件及其文件夹大小)重新载入服务systemctl daemon-reload将nginx服务设置为开机启动systemctl enable nginx.service将nginx服务关闭开机启动systemctl di...
1、下载acme git clone https://gitee.com/neilpang/acme.sh.git cd acme.sh ./acme.sh --install -m 你的邮箱 2、腾讯云dnp中心创建一个tokenhttps://console.dnspod.cn/account/...
https://github.com/eosphoros-ai/DB-GPT-Hub/tree/main https://github.com/whoiskatrin/sql-translator https://github.com/chat2db/Chat2DB...
一、集成测试 1、抽象类,用于请求头添加 import com.fasterxml.jackson.databind.ObjectMapper; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.a...
#!/bin/bash # 设定日期变量,以在备份文件名中使用 DATE=$(date +%Y%m%d%H%M) # MySQL 容器的 ID 或者名称 CONTAINER="" # MySQL 用户名和密码 USER="root" PASSWORD="123456" DATABAS...
实体 import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.T...
java扫描包及其包下的子类方法,适配了win和linux环境 package cn.zflzqy.mysqldatatoes.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframe...
1、开启ip转发 echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf 2、重启应用 systemctl restart network sysctl net.ipv4.ip_forward systemctl restart docker...
google浏览器出现不安全链接且无非跳转 在当前页面输入:thisisunsafe,页面自动恢复。(这种方法可能会失效,这是chrome开发人员留的后门,以前是badidea,现在改为了thisisunsafe) 还一种办法是在console输入: sendCommand(SecurityInte...
关闭spring的彩色日志输出,可选值:ALWAYS, DETECT, NEVER 默认为DETECT . spring.output.ansi.enabled=DETECT...