1.Windows下安裝Redis
(1)下載路徑:
<u>https://github.com/microsoftarchive/redis/releases</u>
(2)解壓后在當(dāng)前文件夾打開cmd
啟動redis服務(wù):
redis-server.exe
防火墻點擊專用網(wǎng)絡(luò)沙咏,允許訪問
啟動redis-cli交互環(huán)境
redis-cli.exe
2. Linux下安裝Redis
(1)安裝
apt-get update
apt-get install redis-server
(2)測試安裝結(jié)果
redis-cli
ping