<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel><title>StoneWu - 石头日记</title><link>https://www.stonewu.com/</link><atom:link href="https://www.stonewu.com/rss.xml" rel="self" type="application/rss+xml"/><description>StoneWu - 石头日记</description><generator>Halo v2.21.10</generator><language>zh-cn</language><image><url>https://stonewu-1253749958.cos.ap-guangzhou.myqcloud.com/logo.jpg</url><title>StoneWu - 石头日记</title><link>https://www.stonewu.com/</link></image><lastBuildDate>Thu, 12 Mar 2026 07:48:09 GMT</lastBuildDate><item><title><![CDATA[vLLM 多机多卡推理部署DeepSeek-R1-Qwen-32B]]></title><link>https://www.stonewu.com/archives/vllm-distributed-serving</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=vLLM%20%E5%A4%9A%E6%9C%BA%E5%A4%9A%E5%8D%A1%E6%8E%A8%E7%90%86%E9%83%A8%E7%BD%B2DeepSeek-R1-Qwen-32B&amp;url=/archives/vllm-distributed-serving" width="1" height="1" alt="" style="opacity:0;">1. 服务器准备 本文两台服务器规格完全一致： Intel(R) Xeon(R) Gold 5318Y CPU @ 2.10GHz 64核处理器 128G 内存 Nvidia RTX 4070Ti 12G 显卡 * 2 确保服务器有足够存储空间 给/根目录预留足够大的空间 虽然一些组件（如docke]]></description><guid isPermaLink="false">/archives/vllm-distributed-serving</guid><dc:creator>StoneWu</dc:creator><enclosure url="https://www.stonewu.com/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Fstonewu-1253749958.cos.ap-guangzhou.myqcloud.com%2Fvllm-deepseek.png&amp;size=m" type="image/jpeg" length="317187"/><category>Linux</category><category>Develop</category><pubDate>Fri, 21 Feb 2025 09:03:14 GMT</pubDate></item><item><title><![CDATA[【已失效】Microsoft Office 365个人版订阅仅需39元持续免费续期白嫖方法（非E5订阅）]]></title><link>https://www.stonewu.com/archives/office-365-free-renew</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=%E3%80%90%E5%B7%B2%E5%A4%B1%E6%95%88%E3%80%91Microsoft%20Office%20365%E4%B8%AA%E4%BA%BA%E7%89%88%E8%AE%A2%E9%98%85%E4%BB%85%E9%9C%8039%E5%85%83%E6%8C%81%E7%BB%AD%E5%85%8D%E8%B4%B9%E7%BB%AD%E6%9C%9F%E7%99%BD%E5%AB%96%E6%96%B9%E6%B3%95%EF%BC%88%E9%9D%9EE5%E8%AE%A2%E9%98%85%EF%BC%89&amp;url=/archives/office-365-free-renew" width="1" height="1" alt="" style="opacity:0;">2023年3月30日更新 !!!该方法已于2023年3月30日失效，不会再有免费续期的横幅了，大家不用再试了!!! 以下为原文： 众所周知，Microsoft 365是微软推出的一个订阅制收费模式，个人版以及家庭版均需几百元一年的订阅费]]></description><guid isPermaLink="false">/archives/office-365-free-renew</guid><dc:creator>StoneWu</dc:creator><enclosure url="https://www.stonewu.com/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Fstonewu-1253749958.cos.ap-guangzhou.myqcloud.com%2Foffice365.png&amp;size=m" type="image/jpeg" length="280814"/><category>Microsoft</category><pubDate>Fri, 10 Mar 2023 03:27:00 GMT</pubDate></item><item><title><![CDATA[使用Canal进行MySQL到MySQL数据库全量+增量同步以及踩坑指南]]></title><link>https://www.stonewu.com/archives/canal-synchronization-problem</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=%E4%BD%BF%E7%94%A8Canal%E8%BF%9B%E8%A1%8CMySQL%E5%88%B0MySQL%E6%95%B0%E6%8D%AE%E5%BA%93%E5%85%A8%E9%87%8F%2B%E5%A2%9E%E9%87%8F%E5%90%8C%E6%AD%A5%E4%BB%A5%E5%8F%8A%E8%B8%A9%E5%9D%91%E6%8C%87%E5%8D%97&amp;url=/archives/canal-synchronization-problem" width="1" height="1" alt="" style="opacity:0;">背景 最近工作中遇到一个迁移数据库的需求，需要将数据库从A服务器迁移至B服务器，为了尽量减少迁移导致的停机时间，考虑使用全量迁移+增量同步的方式，最终选择使用Canal作为迁移工具 准备工作 1. 数据库 两台服务器的数据库都需要提前准备好数据库账号，用于Canal进行数据库连接，因为Canal是伪]]></description><guid isPermaLink="false">/archives/canal-synchronization-problem</guid><dc:creator>StoneWu</dc:creator><enclosure url="https://www.stonewu.com/apis/api.storage.halo.run/v1alpha1/thumbnails/-/via-uri?uri=https%3A%2F%2Fstonewu-1253749958.cos.ap-guangzhou.myqcloud.com%2Fcanal.png&amp;size=m" type="image/jpeg" length="96698"/><category>Develop</category><pubDate>Tue, 14 Jun 2022 12:50:00 GMT</pubDate></item><item><title><![CDATA[Spring Cache @Cacheable 缓存在部分Service中不生效的解决办法]]></title><link>https://www.stonewu.com/archives/spring-cache-cacheable-not-working-in-some-service</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=Spring%20Cache%20%40Cacheable%20%E7%BC%93%E5%AD%98%E5%9C%A8%E9%83%A8%E5%88%86Service%E4%B8%AD%E4%B8%8D%E7%94%9F%E6%95%88%E7%9A%84%E8%A7%A3%E5%86%B3%E5%8A%9E%E6%B3%95&amp;url=/archives/spring-cache-cacheable-not-working-in-some-service" width="1" height="1" alt="" style="opacity:0;">1. 背景 最近开发的项目中，需要大量的使用到缓存以提升性能 其中，有个活动controller，需要查询所有的活动，代码如下： @GetMapping("/list") public RestResult&lt;List&lt;ActivityInfoDTO&gt;&gt; list() { List&lt;Activ]]></description><guid isPermaLink="false">/archives/spring-cache-cacheable-not-working-in-some-service</guid><dc:creator>StoneWu</dc:creator><category>Java</category><pubDate>Fri, 22 Jan 2021 13:14:00 GMT</pubDate></item><item><title><![CDATA[Java在ElasticSearch中使用LocalDatetime类型]]></title><link>https://www.stonewu.com/archives/java-in-elasticsearch-use-localdatetime</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=Java%E5%9C%A8ElasticSearch%E4%B8%AD%E4%BD%BF%E7%94%A8LocalDatetime%E7%B1%BB%E5%9E%8B&amp;url=/archives/java-in-elasticsearch-use-localdatetime" width="1" height="1" alt="" style="opacity:0;">问题 最近在开发一个搜索功能的需求的时候，遇到了LocalDatetime类型不能保存到ElasticSearch中的问题，报错如下： ElasticsearchStatusException[Elasticsearch exception [type=mapper_parsing_exceptio]]></description><guid isPermaLink="false">/archives/java-in-elasticsearch-use-localdatetime</guid><dc:creator>StoneWu</dc:creator><category>Java</category><pubDate>Fri, 11 Sep 2020 13:17:00 GMT</pubDate></item><item><title><![CDATA[Ajax跨域请求中设置header的一个坑]]></title><link>https://www.stonewu.com/archives/cors-ajax-bug</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=Ajax%E8%B7%A8%E5%9F%9F%E8%AF%B7%E6%B1%82%E4%B8%AD%E8%AE%BE%E7%BD%AEheader%E7%9A%84%E4%B8%80%E4%B8%AA%E5%9D%91&amp;url=/archives/cors-ajax-bug" width="1" height="1" alt="" style="opacity:0;">今天晚上有同事反馈，线上一个登记系统出现错误 提示的报错内容为： { "readyState": 0, "responseText": "", "status": 0, "statusText": "error" } 第一眼直觉就是ajax跨域请求失败了，触发了CORS限制。 印象中自己已经]]></description><guid isPermaLink="false">/archives/cors-ajax-bug</guid><dc:creator>StoneWu</dc:creator><category>Java</category><pubDate>Fri, 28 Feb 2020 13:19:00 GMT</pubDate></item><item><title><![CDATA[Java使用腾讯企业邮箱发送邮件时报错Could not connect to SMTP host]]></title><link>https://www.stonewu.com/archives/use-tencent-exmail-send-error</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=Java%E4%BD%BF%E7%94%A8%E8%85%BE%E8%AE%AF%E4%BC%81%E4%B8%9A%E9%82%AE%E7%AE%B1%E5%8F%91%E9%80%81%E9%82%AE%E4%BB%B6%E6%97%B6%E6%8A%A5%E9%94%99Could%20not%20connect%20to%20SMTP%20host&amp;url=/archives/use-tencent-exmail-send-error" width="1" height="1" alt="" style="opacity:0;">最近做一个邮件发送功能的时候，发现腾讯企业邮的邮箱，用java发送邮件的时候一直报错： Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMT]]></description><guid isPermaLink="false">/archives/use-tencent-exmail-send-error</guid><dc:creator>StoneWu</dc:creator><category>Java</category><pubDate>Mon, 4 Nov 2019 13:21:00 GMT</pubDate></item><item><title><![CDATA[Mybatis使用collection标签进行树形结构数据查询时如何携带外部参数查询]]></title><link>https://www.stonewu.com/archives/mybatis-tree-query-param</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=Mybatis%E4%BD%BF%E7%94%A8collection%E6%A0%87%E7%AD%BE%E8%BF%9B%E8%A1%8C%E6%A0%91%E5%BD%A2%E7%BB%93%E6%9E%84%E6%95%B0%E6%8D%AE%E6%9F%A5%E8%AF%A2%E6%97%B6%E5%A6%82%E4%BD%95%E6%90%BA%E5%B8%A6%E5%A4%96%E9%83%A8%E5%8F%82%E6%95%B0%E6%9F%A5%E8%AF%A2&amp;url=/archives/mybatis-tree-query-param" width="1" height="1" alt="" style="opacity:0;">1. 背景 最近更新博客的评论功能，想实现这么一个需求： 评论使用树形结构展示，评论提交后，需要后台审核后才展示到前台，但是用户自己可以显示自己提交的未审核的评论 2. 实施 最初的实现方法是想使用collection进行树形结构查询 为了实现树形查询，需要两个resultMap，一个为最外层的查询]]></description><guid isPermaLink="false">/archives/mybatis-tree-query-param</guid><dc:creator>StoneWu</dc:creator><category>Java</category><pubDate>Fri, 1 Nov 2019 01:58:00 GMT</pubDate></item><item><title><![CDATA[dmesg命令查看Java程序突然挂掉的原因]]></title><link>https://www.stonewu.com/archives/dmesg-command</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=dmesg%E5%91%BD%E4%BB%A4%E6%9F%A5%E7%9C%8BJava%E7%A8%8B%E5%BA%8F%E7%AA%81%E7%84%B6%E6%8C%82%E6%8E%89%E7%9A%84%E5%8E%9F%E5%9B%A0&amp;url=/archives/dmesg-command" width="1" height="1" alt="" style="opacity:0;">最近做项目，总是发现项目突然挂掉，但是Java的日志又没有显示任何内容。 网上搜索了一波才知道了这个命令 # 按时间格式显示 dmesg -T # 显示跟Java 有关的日志 dmesg -T | grep "(java)" 最终打印的信息如下 [Wed May 8 09:40:57 2019]]></description><guid isPermaLink="false">/archives/dmesg-command</guid><dc:creator>StoneWu</dc:creator><category>Linux</category><pubDate>Wed, 8 May 2019 01:59:00 GMT</pubDate></item><item><title><![CDATA[MongoDB用户管理以及连接]]></title><link>https://www.stonewu.com/archives/mongodb-user-management</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=MongoDB%E7%94%A8%E6%88%B7%E7%AE%A1%E7%90%86%E4%BB%A5%E5%8F%8A%E8%BF%9E%E6%8E%A5&amp;url=/archives/mongodb-user-management" width="1" height="1" alt="" style="opacity:0;"># 使用帐户名连接 mongo -u 用户名 -p 密码 --host 数据库地址 # 创建账户 # 创建超级管理员，角色：root db.createUser({user:"用户名",pwd:"密码",roles:["root"]}) # 创建账户管理员 db.createUser({user]]></description><guid isPermaLink="false">/archives/mongodb-user-management</guid><dc:creator>StoneWu</dc:creator><category>Linux</category><pubDate>Fri, 25 Jan 2019 02:00:00 GMT</pubDate></item><item><title><![CDATA[Spring Boot 使用 spring-boot-devtools 实现热加载时出现类型转换异常]]></title><link>https://www.stonewu.com/archives/spring-boot-hot-reload</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=Spring%20Boot%20%E4%BD%BF%E7%94%A8%20spring-boot-devtools%20%E5%AE%9E%E7%8E%B0%E7%83%AD%E5%8A%A0%E8%BD%BD%E6%97%B6%E5%87%BA%E7%8E%B0%E7%B1%BB%E5%9E%8B%E8%BD%AC%E6%8D%A2%E5%BC%82%E5%B8%B8&amp;url=/archives/spring-boot-hot-reload" width="1" height="1" alt="" style="opacity:0;">热加载问题 网上有给出了许多解决热加载的方法，比如： 在resource目录下创建META-INF/spring-devtools.properties文件 里面的内容为类似下面的内容： restart.exclude.companycommonlibs=/mycorp-common-[\\w-]+]]></description><guid isPermaLink="false">/archives/spring-boot-hot-reload</guid><dc:creator>StoneWu</dc:creator><category>Java</category><pubDate>Wed, 10 Oct 2018 02:13:00 GMT</pubDate></item><item><title><![CDATA[MongoDB后台运行]]></title><link>https://www.stonewu.com/archives/mongodb-run-background</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=MongoDB%E5%90%8E%E5%8F%B0%E8%BF%90%E8%A1%8C&amp;url=/archives/mongodb-run-background" width="1" height="1" alt="" style="opacity:0;">完成安装mongodb（略） 创建数据目录： mkdir /data/db 创建配置文件 # vi /data/db/mongodb.cnf dbpath=/data/db/ logpath=/data/db/mongo.log logappend=true fork=true port=27017]]></description><guid isPermaLink="false">/archives/mongodb-run-background</guid><dc:creator>StoneWu</dc:creator><category>Linux</category><pubDate>Thu, 2 Aug 2018 02:03:00 GMT</pubDate></item><item><title><![CDATA[Nginx防止被其他域名恶意解析]]></title><link>https://www.stonewu.com/archives/nginx-domain-resolution-security</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=Nginx%E9%98%B2%E6%AD%A2%E8%A2%AB%E5%85%B6%E4%BB%96%E5%9F%9F%E5%90%8D%E6%81%B6%E6%84%8F%E8%A7%A3%E6%9E%90&amp;url=/archives/nginx-domain-resolution-security" width="1" height="1" alt="" style="opacity:0;">在nginx对应配置文件中增加以下配置： server { listen 80 default_server; listen 443 ssl default_server; ssl_certificate 证书路径; ssl_certificate_key 证书路径]]></description><guid isPermaLink="false">/archives/nginx-domain-resolution-security</guid><dc:creator>StoneWu</dc:creator><category>Linux</category><pubDate>Mon, 27 Nov 2017 02:05:00 GMT</pubDate></item><item><title><![CDATA[Elasticsearch安装常见问题]]></title><link>https://www.stonewu.com/archives/elasticsearch-setup</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=Elasticsearch%E5%AE%89%E8%A3%85%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98&amp;url=/archives/elasticsearch-setup" width="1" height="1" alt="" style="opacity:0;">1. 提示：max file descriptors [4096] for elasticsearch process is too low max file descriptors [4096] for elasticsearch process is too low, increase to a]]></description><guid isPermaLink="false">/archives/elasticsearch-setup</guid><dc:creator>StoneWu</dc:creator><category>Linux</category><pubDate>Tue, 1 Aug 2017 02:06:00 GMT</pubDate></item><item><title><![CDATA[Maven在不同的环境获取不同配置文件的方法]]></title><link>https://www.stonewu.com/archives/maven-multi-environment</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=Maven%E5%9C%A8%E4%B8%8D%E5%90%8C%E7%9A%84%E7%8E%AF%E5%A2%83%E8%8E%B7%E5%8F%96%E4%B8%8D%E5%90%8C%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E7%9A%84%E6%96%B9%E6%B3%95&amp;url=/archives/maven-multi-environment" width="1" height="1" alt="" style="opacity:0;">最近准备把正在开发的项目给分为两个环境来部署，使用jenkins进行自动构建。 把maven部署多环境相关的资料看了下，都比较难理解，于是自己摸索，找到一个比较好的办法。 首先在 src/main/resource 下建两个文件夹，具体几个看你的环境有几个，我这里是分了两个，dev和product，]]></description><guid isPermaLink="false">/archives/maven-multi-environment</guid><dc:creator>StoneWu</dc:creator><category>Java</category><pubDate>Fri, 9 Jun 2017 23:08:00 GMT</pubDate></item><item><title><![CDATA[Jenkins使用Git时提示 Unable to find remote helper for 'https' 报错的问题]]></title><link>https://www.stonewu.com/archives/jenkins-git-https</link><description><![CDATA[<img src="https://www.stonewu.com/plugins/feed/assets/telemetry.gif?title=Jenkins%E4%BD%BF%E7%94%A8Git%E6%97%B6%E6%8F%90%E7%A4%BA%20Unable%20to%20find%20remote%20helper%20for%20%27https%27%20%E6%8A%A5%E9%94%99%E7%9A%84%E9%97%AE%E9%A2%98&amp;url=/archives/jenkins-git-https" width="1" height="1" alt="" style="opacity:0;">一个新的项目需要部署生产环境，于是把jdk，maven，git，什么都装好了。 可是用jenkins连接git仓库的时候提示 Unable to find remote helper for 'https' 的问题。 因为对git的了解甚少，查了下资料，发现可能是没有安装curl的问题，于是先安装c]]></description><guid isPermaLink="false">/archives/jenkins-git-https</guid><dc:creator>StoneWu</dc:creator><category>Linux</category><pubDate>Wed, 7 Jun 2017 02:07:00 GMT</pubDate></item></channel></rss>