Linux environment to install redis database can not execute the command

A problem arises in the linux environment to install redis

 After a successful installation enter the command line feed

Solving steps:

1. After the make command in the directory redis also run make install command in redis / src directory

2. After the finished redis.conf need to modify files in the directory daemonaze redis is: yes (default: no) redis set to allow the running in the background
Press ctrl + z redis service will stop after otherwise successful start, then after performing input press enter redis-cli wrap will not perform an input command.

3. After you are finished to the next redis / src directory execute the command again after the implementation of ./redis-cli after ./redis-server ../redis.conf start redis. Redis operation command input

Successful implementation! . example:

Released six original articles · won praise 7 · views 1101

Guess you like

Origin blog.csdn.net/weixin_43814408/article/details/88584528