Detailed description of Redis installation under Linux system (ii)

Source: Internet
Author: User
Tags server port

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.