Debian 10 / 11 以及 Ubuntu 20 以上版本系统的默认的内核就是 4.19以上版本,且已经默认编译了 TCP BBR 模块,所以可以直接通过参数开启。 开启方法 echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf echo "net.ipv4.tcp_congestion_…
WordPress 的伪静态代码网上有很多,但是很多都是过时的或者错误的,这里记录一下做个备忘。 WordPress 官方伪静态代码 location / { try_files $uri $uri/ /index.php?$args; } rewrite /wp-admin$ $scheme://$host$uri/ permanent;
网站出现留言或者询盘表单发送错误,通常是 sendmail 组件的问题。 sendmail 组件安装 安装 sendmail 组件 apt install sendmail 重启 php-fpm 进程 /etc/init.d/php-fpm restart 检测 sendmail 是否正常运行 /etc/init.d/sendmail status 如果显示…