1.下载

cd /data/
wget http://download.redis.io/releases/redis-3.2.12.tar.gz

2.解压

tar xzf redis-3.2.12.tar.gz
mv redis-3.2.12 redis

3.安装

cd redis
make

4.添加环境变量

vim /etc/profile
export PATH=/application/mysql/bin/:/data/redis/src:$PATH

source /etc/profile

5.启动和连接

redis-server &
redis-cli

相关文章:

  • 2021-08-16
  • 2021-10-13
  • 2021-11-09
  • 2022-01-11
  • 2021-11-24
  • 2022-02-17
  • 2021-06-22
  • 2022-12-23
猜你喜欢
  • 2021-04-05
  • 2021-06-08
  • 2022-01-30
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案