# wget http://download.redis.io/releases/redis-3.2.6.tar.gz
# tar xzf redis-3.2.6.tar.gz
# cd redis-3.2.6
# make
安装CC
# yum -y install gcc automake autoconf libtool make
zmalloc.h:50:31: 致命错误:jemalloc/jemalloc.h:没有那个文件或目录
解决:
# make MALLOC=libc
进入:# cd utils 目录
[[email protected] utils]# ./install_server.sh
启动:
[[email protected] utils]# service redis_6379 start
查看情况:
[[email protected] utils]# ps -ef | grep redis
时间: 2024-10-22 15:34:23