Linux Cetos7 Yum installation Redis

Source: Internet
Author: User
Tags install redis

CENTOS7 Yum Installation Configure Redis and set a password

1. Set up the Redis warehouse address

Yum Install Epel-release

2. Installing Redis

Yum Install Redis

Modify the configuration file and listen for all IP addresses

Vim   /etc/redis.conf Find the following line of BIND 127.0.0.1 comment out #bind 127.0.0.1

3. Start Redis to complete this

Service Redis Start  

If you need to set up boot automatically

chkconfig redis on






另外:
if Redis is required to configure the authentication password

1. Configuring with configuration Files
The Yum-style installation of Redis profiles is typically in/etc/redis.conf, which opens the configuration file to find

Remove the comment before the line, and change the password to the desired password, save the file

Requirepass youpwd

Restart Redis complete

Linux Cetos7 Yum installation Redis

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.