FWQ
centos7.8怎么安装redis5.0.10
centos7.8怎么安装redis5.0.10 收藏 golang学习网今天将给大家带来《centos7.8怎么安装redis5.0.10》,感兴趣的朋友请继续看下去吧!以下内容将会涉及到等等知识点,如果你是正在学习数据库或者已经是大佬级别了,都非常欢迎也希望大家都能给我建议评论哈~希望能帮助到大家! 准备 centos7.8服务器一台 修改主机名 # hostnamectl set-hostname redishost 安装redis 下载redis安装包 # cd /opt # wget https://download.redis.io/releases/redis-5.0.10.tar.gz 解压压缩包 # cd /opt # tar -zxf redis-5.0.10.tar.gz 编译安装 # cd /opt # cd redis-5.0.10 ## 安装gcc编译器 # yum install gcc # make MALLOC=libc # # make install cd src && make install make[1]: Entering directory `/opt/redis-5.0.10/src' Hint: It's a good idea to run 'make test' ;) INSTALL install INSTALL install INSTALL install INSTALL install…