Published on2025年6月21日如何在 Ubuntu 24.04、22.04 或 20.04 上启用 BBRUbuntuBBRBBR(Bottleneck Bandwidth and RTT)是 Google 开发的一种新型 TCP 拥塞控制算法,可显著提高网络吞吐量并降低延迟,特别适用于高丢包、高延迟环境下的传输优化。本文将带你快速了解并在 Ubuntu 20.04、22.04 和 24.04 系统上启用 BBR。
Published on2025年5月27日合并多个已经推送到远程仓库的提交gitgithubguide合并多个提交是通过 Git 的 rebase 或 merge 命令实现的,尤其是当多个提交已经被推送到远程仓库时。使用 git rebase -i 来重写历史,合并多个提交为一个,避免修改公共历史,避免影响其他协作者。若已经推送,可以选择强制推送 (--force) 来更新远程仓库。
Published on2025年5月27日将远程仓库回滚到特定的提交gitgithubguide使用 git reset --hard <commit-hash> 将本地仓库回滚到特定提交,再使用 git push --force 强制推送到远程仓库。
Published on2022年7月27日在 Windows 上安装 MySQL Community ServerMySQLWindowsguideMySQL 5.7.7 及以后版本不再默认包含数据目录,需要使用 --initialize 或 --initialize-insecure 初始化。安装 MySQL 为 Windows 服务可以通过命令 .\bin\mysqld.exe --install 实现,启动服务使用 sc start MySQL 或 net start MySQL。
Published on2022年7月21日配置 Spring MVC 开发环境SpringThymeleafMyBatisSLF4JMVCguide配置 Spring MVC 开发环境时,需引入 Spring、Thymeleaf、MyBatis 和 SLF4J。Spring MVC 负责处理请求和视图渲染,Thymeleaf 用于生成动态网页,MyBatis 简化数据库操作,SLF4J 进行日志管理。通过 Maven 或 Gradle 配置依赖,构建高效、可维护的 Web 应用。