Windows的WSL中快速安装Redis

主要操作

curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list

sudo apt-get update
sudo apt-get install redis

关联资料

https://github.com/ServiceStack/redis-windows

https://redis.io/docs/getting-started/installation/install-redis-on-linux/

posted on 2022-03-25 10:04  白首码农  阅读(133)  评论(0编辑  收藏  举报