CentOS8 ,redis6.0.9

centOs7安装与下载链接(原文地址):https://blog.csdn.net/qq_42570879/article/details/82853708

redis下载地址:https://redis.io/

中文网:www.redis.cn

vmware12地址:自己google吧

2 :安装

下载

wget https://download.redis.io/releases/redis-6.0.9.tar.gz

解压

tar -zxvf redis-6.0.9.tar.gz

安装

进入到redis解压的文件夹内,使用 make 命令

make

使用 make install 命令

make install

3:备份配置文件

cp redis.conf redis.conf.bak 

4:修改redis.conf

1:后台守护运行

CentOS8安装Redis6.0.9

 2:设置密码

CentOS8安装Redis6.0.9

3:设置外网访问

CentOS8安装Redis6.0.9

5:默认安装目录

cd usr/local/bin

6:启动redis-server

redis-server /application/redis/redis-6.0.9/redis.conf

7:启动redis-cli

redis-cli -p 6379

效果截图

 CentOS8安装Redis6.0.9

 CentOS8安装Redis6.0.9

相关文章:

  • 2021-10-21
  • 2021-05-16
  • 2021-08-10
  • 2021-10-12
  • 2021-09-22
  • 2021-11-29
  • 2021-11-24
  • 2021-06-14
猜你喜欢
  • 2022-12-23
  • 2021-08-24
  • 2021-07-12
  • 2021-07-17
  • 2022-12-23
  • 2021-11-19
  • 2022-01-01
相关资源
相似解决方案