标签:str tor target jemalloc download img font malloc strong
本文安装系统为centos8, redis版本为5.0.7
1、安装ruby2.5.5
执行安装ruby命令: yum install ruby
参考我的另一篇博客《centos8-安装ruby2.5.5》
2、下载redis5.0.7
redis官网: https://redis.io/download
wget http://download.redis.io/releases/redis-5.0.7.tar.gz 下载redis5.0.7
3、安装redis
先安装一些命令:
yum -y install gcc gcc-c++ libstdc++-devel //提示gcc和cc命令令未找到
yum install make //安装make命令
tar -zxvf redis-5.0.7.tar.gz 解压
cd /home/joyce/soft/redis-5.0.7 进入redis目录
make MALLOC=libc make后面的参数,是为解决报错: jemalloc/jemalloc.h: No such file or directory
src/redis-server 启动server端
src/redis-cli 启动客户端验证
[joyce@192 redis-5.0.7]$ src/redis-cli 127.0.0.1:6379> exit [joyce@192 redis-5.0.7]$
end.
标签:str tor target jemalloc download img font malloc strong
原文地址:https://www.cnblogs.com/zhuwenjoyce/p/12307446.html