redis< two >

Source: Internet
Author: User
Tags install redis

CentOS6 Installing Redis


Basic Environment:

[Email protected] yum.repos.d]# cat/etc/redhat-release CentOS release 6.7 (Final) [[email protected] yum.repos.d]# uname -rm2.6.32-504.el6.x86_64 X86_64[[email protected] yum.repos.d]#/etc/init.d/iptables Statusiptables:firewall is not Running. [Email protected] yum.repos.d]# Getenforce Disabled


    1. Direct Yum installation, error:

      [[email protected] etc]# yum install redis
      No Package Redis available.
      Error:nothing to do

      Because my yum source is the system default Yun source, so I updated the Yum source, see

      http://7826443.blog.51cto.com/7816443/1715810

      Results or error.


In fact Redia is located in the third party's Yum source, not in the official CentOS Yum source, how to solve it?

Go to the following website to download the corresponding version of Epel: (Epel is a yum source maintained by Fedora, with numerous software)
Http://fedoraproject.org/wiki/EPEL
Here's what I downloaded:

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Install Epel:

RPM-IVH epel-release-6-8.noarch.rpm

2. Install Redis:

#yum Install redis# service Redis start

3. View port Status

[[email protected] yum.repos.d]# netstat-lntup|grep redistcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 23356/redis-server

It's really that simple.

This article is from the "Lanzhi" blog, make sure to keep this source http://7826443.blog.51cto.com/7816443/1715818

redis< two >

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.