一、redis安装

源码安装:

  2.yum install gcc
  3.tar zxvf redis-stable.tar.gz
  4.cd redis-stable
  5.make&&make install
  6.cp redis.conf /etc/  
7.配置文件
   监听地址:bind 0.0.0.0
   限制最大内存:maxmemory 4294967296(4G)
   后台运行:daemonize yes
8.拷贝并修改系统脚本:
   cd utils/
  cp redis_init_script /etc/init.d/redis 
  修改:
  CONF="/etc/redis.conf"
  chmod a+x /etc/init.d/redis
 
ubuntu安装:

  $sudo apt-get update
  $sudo apt-get install redis-server

二、Redis python api

 

相关文章:

  • 2022-12-23
  • 2022-02-02
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-09-24
  • 2022-12-23
  • 2022-01-01
猜你喜欢
  • 2021-11-03
  • 2021-06-22
  • 2022-12-23
  • 2021-11-30
  • 2021-06-14
相关资源
相似解决方案