Redis---Install and turn on and off

Source: Internet
Author: User
Tags redis redis download
Installation
System: centos6.4
redis Download: http://www.redis.cn/download.html
Redis installation steps:
upload source package to/lamp
decompression: TAR-ZXVF redis.tar.gz
CD Redis
make/compile source, first installed Linux system This step may be reported in the following error
    CC ADLIST.O/bin/sh:cc:command not
found
need to install GCC
yum installed gcc
after installation needs to delete redis files, re-decompression, because in the original file make or will be reported the same error
RM zxvf Redis
Decompression: TAR-ZXVF redis.tar.gz
CD Redis make
//compile source
cd src make 
Install//installer
for ease of administration the redis.conf Redis-server REDIS-CLI these 3 into/usr/local/redis/directory
last into redis.conf
modify Daemonize No for daemonize Yes #后台运行
To this Redis installation is complete


Start the service

Redis-server redis.conf

Close Service

REDIS-CLI shutdown


Client Startup

Redis-cli

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.