- First, download the installation package from its official website redis
wget http://download.redis.io/releases/redis-5.0.5.tar.gz
- Decompression compilation
tar -zxvf redis-5.0.5.tar.gz
cd redis-5.0.5
make
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
If the error, the installation fails to install as root using
no problem!