Archive Post

wordpress批量关闭文章的评论功能

mysql> SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'; mysql> alter table wp_posts alter…

给 WordPress 配置 Nginx HTTPS 反向代理

给 WordPress 配置 Nginx HTTPS 反向代理后,网站的 CSS、JS 等静态资源链接都变成了 HTTP 协议,导致浏览器报混合内容错误,资源加载异常…

MySQL8 1396错误处理

Last_SQL_Errno: 1396 Last_SQL_Error: Coordinator stopped because there were error(s) in…

MySQL8 2061错误的处理

Last_IO_Errno: 2061 Last_IO_Error: error connecting to master 'repl@210.14.75.1:3306' - retry-time:…

基于php-fpm标准镜像构建gd、mysqli、pdo_mysql模块支持

FROM php:8.3.24RC1-fpm-alpine3.21 WORKDIR /var/www/html RUN sed -i 's|https://dl-cdn.alpinelinux.org/alpine|https://mirrors.aliyun.com/alpine|g' /etc/apk/repositories &&…

基于nginx标准镜像构建ModSecurity模块支持

FROM nginx:1.27.5 RUN /bin/rm -f /etc/apt/sources.list.d/debian.sources && echo "deb http://mirrors.nju.edu.cn/debian/…

mysql 执行sql替换操作

UPDATE wp_posts SET post_content = REPLACE(post_content, '旧字符', '新字符') WHERE post_type…

Protected: docker grabx

This content is password-protected. To view it, please enter the…

docker dnsmasq

dnsmasq-20251127.tarDownload

nacos密码重置

在线bcrypt密码生成器: https://www.btool.cn/bcrypt https://www.bejson.com/encrypt/bcrpyt_encode 明文字符:nacos 密文字符:$2a$10$AN9MWVtoA6SUFXrtyrH5Q.1I6XNN7nHBsNBMCBJyI.ECtOyDQr0/W 进入数据库: mysql> use nacos_config; 1、新增管理员…