Redis是一套NoSQL。
在Ubuntu下可以直接安装官方的APT Repository:
sudo add-apt-repository -y ppa:redislabs/redis; sudo apt install -y redis
修改/etc/redis/redis.conf,把预设只听localhost的部份改成所有界面都听:
/etc/redis/redis.conf
bind * -::*
开机启动:
sudo systemctl enable redis-server.service