<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>技术记录 - Category - LenBlog</title><link>http://lennert.site/categories/%E6%8A%80%E6%9C%AF%E8%AE%B0%E5%BD%95/</link><description>技术记录 - Category - LenBlog</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>1416679017@qq.com (Lennert)</managingEditor><webMaster>1416679017@qq.com (Lennert)</webMaster><lastBuildDate>Mon, 03 Nov 2025 00:00:00 +0000</lastBuildDate><atom:link href="http://lennert.site/categories/%E6%8A%80%E6%9C%AF%E8%AE%B0%E5%BD%95/" rel="self" type="application/rss+xml"/><item><title>记录一些环境配置</title><link>http://lennert.site/posts/%E5%A4%87%E4%BB%BD%E9%85%8D%E7%BD%AE/</link><pubDate>Mon, 03 Nov 2025 00:00:00 +0000</pubDate><author>1416679017@qq.com (Lennert)</author><guid>http://lennert.site/posts/%E5%A4%87%E4%BB%BD%E9%85%8D%E7%BD%AE/</guid><description><![CDATA[<h3 id="python312版本环境">Python3.12版本环境</h3>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right fa-fw" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h fa-fw" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy fa-fw" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="c1">#查看当前的配置</span>
</span></span><span class="line"><span class="cl">pip config list
</span></span><span class="line"><span class="cl"><span class="c1"># 配置清华源</span>
</span></span><span class="line"><span class="cl">pip config <span class="nb">set</span> global.index-url https://pypi.tuna.tsinghua.edu.cn/simple</span></span></code></pre></div></div>]]></description></item><item><title>WSL迁移Ubuntu到D盘</title><link>http://lennert.site/posts/wsl%E4%B8%8Bubantu%E8%BF%81%E7%A7%BB/</link><pubDate>Sat, 01 Nov 2025 00:00:00 +0000</pubDate><author>1416679017@qq.com (Lennert)</author><guid>http://lennert.site/posts/wsl%E4%B8%8Bubantu%E8%BF%81%E7%A7%BB/</guid><description><![CDATA[<h2 id="1准备工作"><strong>1.准备工作</strong></h2>
<p>打开<a href="https://zhida.zhihu.com/search?content_id=226325634&amp;content_type=Article&amp;match_order=1&amp;q=CMD&amp;zhida_source=entity" target="_blank" rel="noopener noreffer ">CMD</a>，输入<code>wsl -l -v</code>查看wsl虚拟机的名称与状态。</p>
<p>了解到本机的WSL全称为Ubuntu-20.04，以下的操作都将围绕这个来进行。</p>]]></description></item><item><title>Linux部署python项目</title><link>http://lennert.site/posts/linux%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/</link><pubDate>Wed, 29 Oct 2025 00:00:00 +0000</pubDate><author>1416679017@qq.com (Lennert)</author><guid>http://lennert.site/posts/linux%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/</guid><description><![CDATA[<h3 id="使用conda创建python312版本环境">使用conda创建Python3.12版本环境</h3>
<p>下载python3.12并创建conda环境名称为py312_env</p>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right fa-fw" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h fa-fw" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy fa-fw" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">conda create -n py312_env <span class="nv">python</span><span class="o">=</span>3.12</span></span></code></pre></div></div>
<p>激活新环境</p>
<div class="code-block code-line-numbers open" style="counter-reset: code-block 0">
    <div class="code-header language-bash">
        <span class="code-title"><i class="arrow fas fa-angle-right fa-fw" aria-hidden="true"></i></span>
        <span class="ellipses"><i class="fas fa-ellipsis-h fa-fw" aria-hidden="true"></i></span>
        <span class="copy" title="Copy to clipboard"><i class="far fa-copy fa-fw" aria-hidden="true"></i></span>
    </div><div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">conda activate py312_env</span></span></code></pre></div></div>
<p>查看当前环境的python版本（验证）</p>]]></description></item><item><title>创建lenBlog容易出现的小问题解决合集</title><link>http://lennert.site/posts/%E5%8D%9A%E5%AE%A2%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3%E5%90%88%E9%9B%86/</link><pubDate>Tue, 23 Sep 2025 12:40:52 +0800</pubDate><author>1416679017@qq.com (Lennert)</author><guid>http://lennert.site/posts/%E5%8D%9A%E5%AE%A2%E9%97%AE%E9%A2%98%E8%A7%A3%E5%86%B3%E5%90%88%E9%9B%86/</guid><description><![CDATA[<p>在创建这个博客的时候遇到了一些问题，随手进行一次记录。配合第一篇博客使用基本可以顺利完成搭建个人博客方便进行使用。</p>
<h3 id="添加低成本图床不要用gitee">添加低成本图床（不要用gitee！）</h3>
<p>鉴于笔记都是使用markdown完成的，而md文档中的图片都是与文件分离的。默认情况下，文章中插入的图片都被存储于本地的C盘中的Typora的数据文件夹中，如果是本地使用的话也可以更改图片的存储路径为某个其他的文件夹（比如笔记文件夹中的img文件夹）。</p>]]></description></item><item><title>利用Hugo搭建个人博客【极低成本+省运维】</title><link>http://lennert.site/posts/first_post/</link><pubDate>Tue, 23 Sep 2025 12:40:52 +0800</pubDate><author>1416679017@qq.com (Lennert)</author><guid>http://lennert.site/posts/first_post/</guid><description>&lt;blockquote>
&lt;p>很久以前本人其实搭建过一个博客，服务器域名等等应有尽有，但是无奈写个笔记还得很很繁琐地进行更新，而且服务器次年续费真的好贵！所以现在搭建的新的博客不需要任何的服务器，而且写完笔记更新到网站也不需要自己操作，直接一键更新！&lt;/p></description></item></channel></rss>