The previous essay, has successfully opened the Redis-server, the client has been able to normal operation of Redis.
However, redis-server open at the same time, a large Doc black screen is also open there, and then explain how to let the Linux system under the Redis-server background running (equivalent to the Windows system under the background service run)
(1) Open the redis.conf configuration file, after executing the command as
#vim redis.conf
(2) After opening, press the keyboard I key to edit the redis.conf file
Parameter 1: Set Yes to allow Redis-server to run as a protection process, which is equivalent to running the background service under Windows system (this parameter default no)
Parameter 2: Set the Redis-server daemon ID number to save the file
Parameter 3: Set the Redis-server port number
(3) When the edit is complete, press the Exit key, enter: Wq (Save the changes and close the current redis.conf document)
(4) Let Redis-server run with profile settings, after running the command, as
# Src/redis-server Redis.conf
Note:1) Be sure to open the redis-2.8.24 file
2) redis.conf file directory to the right, example: If the redis.conf file you saved under the/home file, it should be # src/redis-server/home/redis.conf
Please refer to the essay--redis configuration file (redis.conf) for detailed redis.conf configuration file
Detailed description of Redis installation under Linux system (ii)