Installation redis-5.0.5 environment under centos7

  • First, download the installation package from its official website redis
   wget http://download.redis.io/releases/redis-5.0.5.tar.gz

Here Insert Picture Description

  • Decompression compilation
tar -zxvf redis-5.0.5.tar.gz
cd redis-5.0.5
make

Here Insert Picture Description
Here it is compiled using gcc, if not directly, then install gcc

yum install gcc

After installing gcc compiler making

  • installation
cd src
make install

Here Insert Picture Description
If the error, the installation fails to install as root using

Here Insert Picture Description

Here Insert Picture Description
no problem!

Published 19 original articles · won praise 24 · views 1363

Guess you like

Origin blog.csdn.net/qq_43612538/article/details/104377541