Linux Yum installs Redis and uses the

Source: Internet
Author: User
Tags iptables redis desktop manager install redis

1. Yum install Redis--see if there is a redis yum source

2. Yum Install epel-release--download Fedora's Epel warehouse

3. Yum install Redis--Installing the Redis database

4. Service Redis start redirecting To/bin/systemctl start Redis.service--Turn on Redis service

redis-server/etc/redis.conf--Open Mode II

5, Ps-ef | grep Redis--see if Redis is turned on

6. REDIS-CLI--access to Redis service

7, REDIS-CLI shutdown--close service

8, open port 6379, 6380 of the firewall

/sbin/iptables-i input-p TCP--dport 6379-j ACCEPT open 6379

/sbin/iptables-i input-p TCP--dport 6380-j ACCEPT open 6380

/etc/rc.d/init.d/iptables Save

9. Use Redis Desktop Manager to connect to Redis

Linux Yum installs Redis and uses the

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.