<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[安装 Redis 不带密码的步骤]]></title><description><![CDATA[<h1>安装 Redis 不带密码的步骤</h1>
<ol>
<li>在 WSL (Ubuntu) 中执行以下命令安装 Redis：</li>
</ol>
<pre><code class="language-bash">sudo apt update
sudo apt install redis-server -y
</code></pre>
<ol start="2">
<li>修改 Redis 配置文件以禁用密码认证：</li>
</ol>
<pre><code class="language-bash">sudo sed -i 's/^requirepass/#requirepass/' /etc/redis/redis.conf
</code></pre>
<ol start="3">
<li>重启 Redis 服务使配置生效：</li>
</ol>
<pre><code class="language-bash">sudo service redis-server restart
</code></pre>
<ol start="4">
<li>验证 Redis 是否正常运行且无需密码：</li>
</ol>
<pre><code class="language-bash">redis-cli ping
</code></pre>
<p dir="auto">如果返回 "PONG" 则表示安装成功且无需密码。</p>
]]></description><link>https://talk.loda.net/topic/44/安装-redis-不带密码的步骤</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 08:16:10 GMT</lastBuildDate><atom:link href="https://talk.loda.net/topic/44.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 11 Jan 2026 05:18:07 GMT</pubDate><ttl>60</ttl></channel></rss>