CentOS7 Installing Redis

Source: Internet
Author: User
Tags download redis

Redis Installation

Installing the GCC compiler

Yum Install GCC

Download Redis

# wget http://download.redis.io/releases/redis-3.0.7.tar.gz

Unzip Redis

# tar -zxvf redis-3.0. 7. tar. gz

Compiling Redis

# CD redis-3.0. 7 # make MALLOC=LIBC

After the completion of the compilation, 6 executables are generated in the SRC directory, namely Redis-server, REDIS-CLI, Redis-benchmark, redis-check-aof, Redis-check-dump, Redis-sentinel

ls grep " * " grep " \. " TR " * "

Installing Redis copies the executable files generated by make compilation to the/usr/local/bin directory

 Make Install

Run install_server.sh in the Utils directory, which installs Redis as a system service and initiates Redis

#./utils/install_server. SH

Redis service View, open, close

View the Redis process

PS grep Redis-server

Start the service

# service redis_6379 Start

Stop Service

# Service redis_6379 Stop

CentOS7 Installing 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.