<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/scripts/pretty-feed-v3.xsl" type="text/xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:h="http://www.w3.org/TR/html4/"><channel><title>LanZX Blog</title><description>99 percent of pepole never really live before they die</description><link>https://blog.lanzx.top</link><item><title>使用 acme.sh 自动验证为域名签发证书</title><link>https://blog.lanzx.top/blog/acme-sh</link><guid isPermaLink="true">https://blog.lanzx.top/blog/acme-sh</guid><description>使用 acme.sh + DNSPod DNS 自动验证为域名申请并管理 HTTPS 证书的完整配置流程</description><pubDate>Sun, 14 Dec 2025 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;使用 acme.sh 自动验证为域名签发证书&lt;/h1&gt;
&lt;p&gt;本文记录在服务器端 &lt;strong&gt;通过 FinalShell 操作&lt;/strong&gt;，使用 &lt;strong&gt;acme.sh + DNSPod.cn 的 DNS 自动验证方式&lt;/strong&gt; 为域名申请并管理 HTTPS 证书的完整配置流程。整体流程偏向实用与可复现，适合日常服务器维护与长期证书管理。&lt;/p&gt;
&lt;hr&gt;
&lt;h2&gt;一、准备条件&lt;/h2&gt;
&lt;p&gt;在开始之前，请确认你已具备以下条件：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;一台 Linux 服务器（常见如 CentOS / Ubuntu）&lt;/li&gt;
&lt;li&gt;已安装并可正常使用 &lt;strong&gt;FinalShell&lt;/strong&gt; 连接服务器&lt;/li&gt;
&lt;li&gt;一个已备案/可解析的域名&lt;/li&gt;
&lt;li&gt;域名托管在 &lt;strong&gt;DNSPod.cn&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;DNSPod 账号的 &lt;strong&gt;API 密钥（ID + Token）&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;DNS 自动验证的优势在于：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;不依赖服务器 80 / 443 端口&lt;/li&gt;
&lt;li&gt;适合内网、未部署 Web 服务的服务器&lt;/li&gt;
&lt;li&gt;支持泛域名证书（&lt;code&gt;*.example.com&lt;/code&gt;）&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h2&gt;二、安装 acme.sh&lt;/h2&gt;
&lt;p&gt;安装 acme.sh 非常简单，一条命令即可完成，&lt;strong&gt;普通用户和 root 用户都可以安装和使用&lt;/strong&gt;。&lt;/p&gt;
&lt;h3&gt;方式一：使用 curl（推荐）&lt;/h3&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;curl https://get.acme.sh | sh -s email=my@example.com
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;方式二：使用 wget&lt;/h3&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;wget -O - https://get.acme.sh | sh -s email=my@example.com
&lt;/code&gt;&lt;/pre&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;email&lt;/code&gt; 用于接收证书过期或异常通知，建议填写真实常用邮箱。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;安装完成后，重新加载环境变量：&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;source ~/.bashrc
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;验证是否安装成功：&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;acme.sh --version
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;默认安装路径：&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-text&quot;&gt;~/.acme.sh/
&lt;/code&gt;&lt;/pre&gt;
&lt;hr&gt;
&lt;h2&gt;三、DNSPod 这边需要做什么？&lt;/h2&gt;
&lt;p&gt;在服务器动手之前，&lt;strong&gt;先把 DNSPod 后台这件事处理好&lt;/strong&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h3&gt;1. 确认域名托管在 DNSPod&lt;/h3&gt;
&lt;p&gt;先打开 DNSPod 控制台&lt;/p&gt;
&lt;hr&gt;
&lt;h3&gt;2. 创建 DNSPod API Token&lt;/h3&gt;
&lt;p&gt;进入 DNSPod 控制台后：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;打开 &lt;strong&gt;账号中心 / API 密钥管理&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;创建一个新的 API Token&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;创建完成后，你会得到两项信息：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;DP_Id&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;DP_Key&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;这两个值&lt;strong&gt;只会完整显示一次&lt;/strong&gt;，建议当场保存好。&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://image.lanzx.top/file/AgACAgUAAxkDAAMLaT5kS3QN5Bc7DSCn2I1sLy3AhnEAApoMaxsRFfFVBI5yz-xNoPoBAAMCAAN5AAM2BA.png&quot; alt=&quot;结果&quot;&gt;
图中ID为DP_Id  Token为DP_Key&lt;/p&gt;
&lt;hr&gt;
&lt;h2&gt;四、在服务器里配置 DNSPod API&lt;/h2&gt;
&lt;p&gt;网页端准备好之后，回到服务器，才轮到 acme.sh 登场。&lt;/p&gt;
&lt;h3&gt;1. 配置&lt;/h3&gt;
&lt;p&gt;在 FinalShell 里执行：&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;export DP_Id=&quot;你的DNSPod_ID&quot;
export DP_Key=&quot;你的DNSPod_Token&quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;将服务器与poddns连接&lt;/p&gt;
&lt;hr&gt;
&lt;h2&gt;四、使用 DNS 自动验证申请证书&lt;/h2&gt;
&lt;h3&gt;1. 申请单域名证书&lt;/h3&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;acme.sh --issue --dns dns_dp -d example.com
&lt;/code&gt;&lt;/pre&gt;
&lt;h3&gt;2. 申请泛域名证书（推荐）&lt;/h3&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash&quot;&gt;acme.sh --issue --dns dns_dp -d example.com -d &apos;*.example.com&apos;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;acme.sh 会自动完成以下操作：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;调用 DNSPod API&lt;/li&gt;
&lt;li&gt;添加 &lt;code&gt;_acme-challenge&lt;/code&gt; TXT 记录&lt;/li&gt;
&lt;li&gt;验证完成后自动清理 DNS 记录&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;整个过程无需手动干预。&lt;/p&gt;
&lt;hr&gt;
&lt;h2&gt;五、查看证书文件位置&lt;/h2&gt;
&lt;p&gt;证书生成后默认存放在：~/.acme.sh/example.com_ecc/ 下
&lt;img src=&quot;https://image.lanzx.top/file/AgACAgUAAxkDAAMLaT5kS3QN5Bc7DSCn2I1sLy3AhnEAApoMaxsRFfFVBI5yz-xNoPoBAAMCAAN5AAM2BA.png&quot; alt=&quot;结果&quot;&gt;&lt;/p&gt;
&lt;h2&gt;六、安装证书&lt;/h2&gt;
&lt;p&gt;找到证书进行安装即可&lt;/p&gt;</content:encoded><h:img src="undefined"/><enclosure url="undefined"/></item><item><title>关于虚拟机</title><link>https://blog.lanzx.top/blog/about-vm</link><guid isPermaLink="true">https://blog.lanzx.top/blog/about-vm</guid><description>VMware下载以及系统镜像站</description><pubDate>Fri, 13 Dec 2024 00:00:00 GMT</pubDate><content:encoded>&lt;h1&gt;关于VMware&lt;/h1&gt;
&lt;p&gt;VMware是一款开源的虚拟机软件，可以运行各种操作系统，包括Windows、Linux、Mac OS等。&lt;/p&gt;
&lt;h1&gt;安装VMware&lt;/h1&gt;
&lt;p&gt;VMware官网：https://www.vmware.com/cn.html&lt;/p&gt;
&lt;p&gt;从VMware服务器上获取安装包：https://softwareupdate.vmware.com/cds/vmw-desktop/&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://image.lanzx.top/file/AgACAgUAAxkDAAMFZ10no_4IVKqS4XLOmjU0q3t4u_gAAkzAMRsB8-hWjHUqVq7719kBAAMCAAN5AAM2BA.png&quot; alt=&quot;下载&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;在最后应当选择包含core路径：&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://image.lanzx.top/file/AgACAgUAAxkDAAMEZ10nDZq-5Lu16glhS5tPLJjF1V8AAkvAMRsB8-hWaZAmkPg6lLUBAAMCAAN4AAM2BA.png&quot; alt=&quot;路径&quot;&gt;&lt;/p&gt;
&lt;h1&gt;下列镜像源可供选择：&lt;/h1&gt;
&lt;h2&gt;Windows&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://www.xitongku.com/index.html&quot;&gt;系统库&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;CentOS&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://mirrors.163.com/centos/&quot;&gt;网易云镜像&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://mirrors.aliyun.com/centos/&quot;&gt;阿里云镜像&lt;/a&gt;&lt;/p&gt;</content:encoded><h:img src="undefined"/><enclosure url="undefined"/></item><item><title>The Impact of Technology on the Music World</title><link>https://blog.lanzx.top/blog/music-journey</link><guid isPermaLink="true">https://blog.lanzx.top/blog/music-journey</guid><description>The evolution of music is a symphony of creativity, rhythm, and technology.</description><pubDate>Sat, 30 Nov 2024 00:00:00 GMT</pubDate><content:encoded>&lt;p&gt;The evolution of music is a symphony of creativity, rhythm, and technology. From the humble beginnings of acoustic instruments to the present-day digital era, the relationship between music and technology has been transformative. In this article, we will explore the historical milestones, digital revolution, and emerging technologies that have shaped the music world. Join us on a journey through the chords of innovation as we discuss how technology has changed music.&lt;/p&gt;
&lt;h2&gt;Historical Perspective&lt;/h2&gt;
&lt;p&gt;The marriage of music and technology dates back centuries, with pivotal moments shaping the industry. The invention of the phonograph by Thomas Edison in the late 19th century marked the first time music could be recorded and replayed. Subsequent milestones, such as the electric guitar and the synthesizer, revolutionized music creation, paving the way for new genres and sounds.&lt;/p&gt;
&lt;p&gt;These technological leaps didn&apos;t merely shape the musical landscape of their time but laid a foundation for the continuous evolution of the intersection between music and technology. As artists embraced these innovations, they unlocked new avenues for creativity, paving the way for diverse sounds and genres that have become integral to the vibrant tapestry of the modern music industry. The historical perspective illuminates the symbiotic relationship between music and technology, highlighting the transformative impact that each innovation has had on the way we create, consume, and experience music.&lt;/p&gt;
&lt;h2&gt;Digital Revolution&lt;/h2&gt;
&lt;p&gt;The digital revolution has been a seismic shift in the music industry, altering how music is consumed, distributed, and produced. The transition from physical formats like CDs and vinyl to digital formats such as MP3s and streaming services has democratized access to music. The ease of streaming has transformed how listeners discover and enjoy music, challenging traditional revenue models while offering unparalleled convenience.&lt;/p&gt;
&lt;h2&gt;Technology in Music Consumption and Distribution&lt;/h2&gt;
&lt;p&gt;Streaming services have become the heartbeat of music consumption, causing a decline in traditional music stores. The accessibility of music online has reshaped distribution channels, impacting both artists and record labels. While it provides exposure to a global audience, it also poses challenges regarding fair compensation for artists. The dynamics of the industry are evolving, reflecting the intricate dance between technology and music.
Music Production and Creation&lt;/p&gt;
&lt;p&gt;The advent of digital audio workstations (DAWs), software instruments, and electronic production techniques has democratized music creation. Artists now have powerful tools at their fingertips, enabling them to experiment with sounds, collaborate remotely, and produce music independently. This technological shift has broken down barriers, allowing for a diverse array of voices to be heard in the ever-expanding realm of music.&lt;/p&gt;</content:encoded><h:img src="/_astro/thumbnail.Cx18cRmB.jpg"/><enclosure url="/_astro/thumbnail.Cx18cRmB.jpg"/></item></channel></rss>