Redis:修订间差异
跳到导航
跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
(→設定) |
(→設定) |
||
第11行: | 第11行: | ||
== 設定 == | == 設定 == | ||
修改<code>/etc/redis/redis.conf</code>,把預設只聽localhost的部份改成所有界面都聽: | 修改<code>/etc/redis/redis.conf</code>,把預設只聽localhost的部份改成所有界面都聽 ,然後把<code>protected-mode</code>關閉 : | ||
<syntaxhighlight lang="apache"> | <syntaxhighlight lang="apache"> | ||
bind * -::* | bind * -::* | ||
protected-mode no | |||
</syntaxhighlight> | </syntaxhighlight> | ||