PVE 环境下 1500+ WordPress 站点的性能救赎之路

—— 从 SAS RAID5 到 NVMe 直通与内网万兆互联架构。 以下内容根据实际生产环境进行编写,部分内容参考了互联网上的内容,以及经过了AI的润色,请结合自己实际情况进行调整。 ...

2025-11-27 · 4 分钟 · 1674 字

800+个WordPress被黑站点批量修复与架构演进 (Bash + WP-CLI)

背景:单台服务器托管 800+ 个 WordPress 站点(站群架构),遭遇批量挂马。特征为 wp-content 目录下充斥恶意 PHP/HPH 文件,部分站点的 wp-config.php 被直接篡改为恶意 HTML 页面。 目标:在不丢失数据库数据、保留上传图片 (uploads) 的前提下,批量重置核心文件、清理后门、重置管理员权限。 ...

2025-11-21 · 5 分钟 · 2290 字

Proxmox VE 单公网 IP 部署实战手册 (NAT + Cloud-Init)

适用场景:Hetzner、OVH 等只提供单公网 IP 的独立服务器,或家庭宽带下的 PVE 环境。 目标:通过 NAT 组网,让宿主机充当路由器,实现虚拟机内网隔离与公网访问。 ...

2025-09-11 · 4 分钟 · 1529 字

GPT-4o 和 GPT-4o Mini 怎么选?一篇文章帮你快速搞懂差别!

选哪个更适合你?GPT-4o vs GPT-4o Mini 现在AI已经成为很多人工作和生活中的“标配”工具,而OpenAI推出的 GPT-4o 和 GPT-4o Mini,无疑是目前最热门的两个模型。但问题来了:它们有什么区别?你应该用哪一个? 别担心,下面这篇文章会用简单明了的方式帮你搞清楚。 ...

2025-05-16 · 2 分钟 · 859 字

使用 Docker 部署 Syncthing

这里使用 linuxserver 的 docker 镜像 linuxserver/syncthing 使用 docker compose 部署 --- services: syncthing: image: lscr.io/linuxserver/syncthing:latest container_name: syncthing hostname: syncthing #optional environment: - PUID=1000 - PGID=1000 - TZ=Etc/UTC volumes: - /path/to/syncthing/config:/config - /path/to/data1:/data1 - /path/to/data2:/data2 ports: - 8384:8384 - 22000:22000/tcp - 22000:22000/udp - 21027:21027/udp restart: unless-stopped 使用 docker cli 部署 ...

2025-01-17 · 1 分钟 · 152 字

Tmux的快捷键

常用命令 #新建 tmux tmux new -s 会话名 #断开(后台运行) tmux detach #重新进入 tmux a tmux a -t demo #关闭 tmux kill-session -t demo #关闭所有 tmux kill-server #查看所有会话 tmux ls 此外,Tmux的所有快捷指令,都包含同一个前缀,默认为Ctrl+b,输入完前缀过后,控制台激活,命令按键才能生效。详细列表如下: ...

2024-11-25 · 3 分钟 · 1348 字

Woocommer如何批量删除指定分类下的产品?

woocommerce错误了发布/导入了大量产品,如何删除清理指定分类的所有产品? 首先,查询对应的产品分类ID,这个不多说,自行查询 然后使用wp cli进行如下操作 ...

2024-10-17 · 1 分钟 · 322 字

Debian系统添加绑定多个IP地址

Debian需要修改 /etc/network/interfaces 文件来修改或添加多个IP地址的绑定 先备份interfaces文件 cp /etc/network/interfaces /root/interfaces.bak 使用VIM编辑配置文件 vim /etc/network/interfaces 示例文件: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eno1:0 iface eno1:0 inet static address 12.3.12.10 netmask 255.255.255.192 gateway 12.3.12.1 dns-nameservers 8.8.8.8 auto eno1:1 iface eno1:1 inet static address 12.3.12.11 netmask 255.255.255.192 gateway 12.3.12.1 dns-nameservers 8.8.8.8 auto eno1:2 iface eno1:2 inet static address 12.3.12.12 netmask 255.255.255.192 gateway 12.3.12.1 dns-nameservers 8.8.8.8 auto eno1:3 iface eno1:3 inet static address 12.3.12.13 netmask 255.255.255.192 gateway 12.3.12.1 dns-nameservers 8.8.8.8 重启网络 ...

2023-09-12 · 1 分钟 · 262 字

[SERVER]RAKsmart:爆款独服仅$30,裸机云站群$109,日本产品最低4折,V4产品全场7折!!![AFF]

RAKsmart机房网络升级,洛杉矶新增CU 9929线路,线路主要包括CU 9929、CMI、Telia等三大运营商,同时CU 9929线路到国内延迟在150毫秒左右。 同时,注册成为RAKsmart用户,申请Shared Hosting 1免费试用一个月,充值最高可领100美金**(不可重复申请)**。 ...

2023-09-01 · 13 分钟 · 6332 字

Debian 默认官方源 sources.list

鉴于很多预装的VPS为厂商源而非官方源,在此记录一下官方源。 先备份apt源配置 mv /etc/apt/sources.list /etc/apt/sources.list.old 编辑sources.list文件 vi /etc/apt/sources.list Debian 12/Bookworm deb http://deb.debian.org/debian bookworm main non-free-firmware deb-src http://deb.debian.org/debian bookworm main non-free-firmware deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware deb http://deb.debian.org/debian bookworm-updates main non-free-firmware deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware Debian 11/Bullseye ...

2023-01-13 · 1 分钟 · 407 字