「Redis」:修訂間差異

出自Gea-Suan Lin's Wiki
跳至導覽 跳至搜尋
Gslin留言 | 貢獻
Gslin留言 | 貢獻
第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 *

外部連結