Redis:修订间差异

来自Gea-Suan Lin's Wiki
跳到导航 跳到搜索
此页面具有访问限制。如果您看见此消息,则说明您没有权限访问此页面。
第11行: 第11行:
== 設定 ==
== 設定 ==


 修改<code>/etc/redis/redis.conf</code>,把預設只聽localhost的部份改成 全部 都聽:
 修改<code>/etc/redis/redis.conf</code>,把預設只聽localhost的部份改成 所有界面 都聽:


<syntaxhighlight lang="apache">
<syntaxhighlight lang="apache">

2023年3月7日 (二) 19:01的版本

Redis是一套NoSQL。

安装

Ubuntu下可以直接安装官方的APT Repository:

sudo add-apt-repository -y ppa:redislabs/redis; sudo apt install -y redis

设定

修改/etc/redis/redis.conf,把预设只听localhost的部分改成所有界面都听:

bind *

外部链接