centos7.3 安装redis

版权声明:博客原创,转载须标明出处 https://blog.csdn.net/qq_24232123/article/details/79781823
  1. 下载包解压 # tar -zxvf redis
  2. 安装 # make PREFIX=/usr/local/redis install
  3. 进目录的bin下 启动redis-server 出现图形就说明完成(此启动无法持久,退出就小时)
  4. 把解压路径的conf 解压到etc中 cp redis.conf /etc/
  5. .设置密码 设置外网访问
  6. 若有配置文件的启动方式 # redis-server /redis.conf

猜你喜欢

转载自blog.csdn.net/qq_24232123/article/details/79781823