[Redis] Memory cache Redis 架設教學指南

Intro

Redis

快速安裝檔


安裝

$ sudo apt install redis-server

That’s all


進階設定

開啟驗證

新增密碼設定 /etc/redis.conf:

requirepass foobared

Bind IP驗證

/etc/redis.conf:

bind 192.168.1.100 10.0.0.1

不支援子網遮罩,不需要就註解掉,自行設防火牆。

Leave a Reply

Your email address will not be published. Required fields are marked *