Redis Linux Configuration Redis (single point)

Source: Internet
Author: User
Tags download redis

First step: Download Redis package Http://redis.io/download

The second step: Create the appropriate folder, and through the xftp and other tools to copy the compressed package to the new folder, and extract

1 . Create folder # mkdir zookeeper 2 . Copy the tool over here 3  -zxvf redis-4.0. 2. tar.gz

Step three: Compiling Redis

1 Enter the Unpacked folder # CD Redis-4.0. 2 2 . Execute make to compile the Redis uncompressed file # made 3 . Go to the SRC folder and perform the make install for Redis installation # CD src# made install

Fourth step: Modify the Redis.conf file (the file by default in the extracted directory, if necessary, you can create a new conf directory and copy it, easy to start)

A. Modifying the auth password

B. Turn on background boot (if not, the Redis service will terminate when the terminal exits CTRL + C)

Daemonize Change No to Yes

Fifth step: Start the Redis service

#./redis-server. /redis.conf

You need to bring the configuration file when you start, otherwise the default startup, password and background run will not take effect (this is the same as under the Windows system, you need to bring the corresponding configuration file)

Sixth step: Check if it starts up

# Ps-ef|grep Redis

Or

# Netstat-tunpl|grep 6379

Add: Of course, you can also use REDIS-CLI to log in and see if the success

Redis Linux Configuration Redis (single point)

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.