获取redis安装包:
wget https://download.redis.io/redis-stable.tar.gz
编译redis
tar -xzvf redis-stable.tar.gz
cd redis-stable
make
安装redis
sudo make install
复制配置文件
sudo cp ./redis.conf /etc
启动redis
redis-server /etc/redis.conf
获取redis安装包:
wget https://download.redis.io/redis-stable.tar.gz
编译redis
tar -xzvf redis-stable.tar.gz
cd redis-stable
make
安装redis
sudo make install
复制配置文件
sudo cp ./redis.conf /etc
启动redis
redis-server /etc/redis.conf