step
1. If you want to see the redis process, first modify the redis.conf configuration file and
change no to yes.
2. Go to the /usr/local/bin directory and start the redis service through the redis.conf configuration file
redis-server redis configuration file location
3. Test whether the redis service is started successfully.
6379 is the default port of redis
redis-cli -p port number (the default is 6379)
4. Close redis
shutdown