Redis
Install redis for Linux
Linux version redis compression package
Link: https://pan.baidu.com/s/1QkNQWaejcoCaIOqX2L7jjQ?pwd=rjgh
Extraction code: rjgh
1. Installation and testing
1: Install the wget environment
yum -y install wget
2: Upload the redis compressed package
3: Decompress the redis compressed package
tar -zxvf (redis压缩包名称)
3: Execute the command (install the c language environment)
yum install gcc
4: After decompression, enter the redis root directory and execute make compilation
make
5: After the compilation is successful, enter: make install
make install
6: Start redis (enter the src in the redis directory and execute the following command) Use the redis.conf file to start
./redis-server ../redis.conf