centos7 redis安装过程中遇到的问题

it2026-06-04  6

# make MALLOC=libc && make install PREFIX=/usr/local/redis/6.0.7

先检查gcc的版本是否低于5,如果是请先升级,可以使用以下命令: # yum install -y centos-release-scl # yum install -y devtoolset-7-gcc* # scl enable devtoolset-7 bash # gcc --version gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5) Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 说明:或者降低redis版本
最新回复(0)