ubuntu安装redis-server
安装的最新稳定版
redis官网
wget http://download.redis.io/redis-stable.tar.gz tar xvzf redis-stable.tar.gz cd redis-stable sudo make install cp redis.conf ../redis.conf cd .. redis-server redis.conf
原文链接:https://blog.csdn.net/A156348933/article/details/85255577
简便安装:
sudo apt update
sudo apt install redis-server
后台运行:
redis-server --daemonize yes
命令行访问测试:
redis-cli -h 127.0.0.1 -p 6379