[] Redis4.0.10 ---- Redis cache in the Linux environment to build

1. Download the Redis uploaded to the specified directory

2. Extract

tar -zxvf redis-4.0.10.tar.gz

3. Go to the directory after the pressurized and compile

cd redis-4.0.10

make

4. Enter the installation directory src

cd src

make install

5. modify the configuration file, the boot mode to start background

vim redis.config

daemonize default is no, yes to

6. Start redis service

./src/redis-server ./redis.conf 

7. Verify

ps -ef|grep redis

 Or remote connection

./src/redis-cli -h 192.168.1.xxx -p 6379 -a 123456

 

Guess you like

Origin blog.csdn.net/ningjiebing/article/details/89411061