centos6.5 Installing Redis

Source: Internet
Author: User

XML code:

[Email protected] src]# wget-c http://redis.googlecode.com/files/redis-2.4.7.tar.gz [[email protected] src]# TAR-ZXV- f redis-2.4.7.tar.gz [[email protected] src]# cd/usr/local/src/redis-2.4.7 [[email protected] redis-2.4.7]# make #编译, After compiling, you can test and use it, but in order to make the backend service, it is best to install it on the system [[email protected] redis-2.4.7]# made install #安装会把redis的命令被拷贝到/usr/local/bin below


Configure redis.conf

[[email protected] redis-2.4.7]# CP./redis.conf/etc/redis.conf change Daemonize No to daemonize yes so that when you start Redis it will be back-end service UserA DD Redis mkdir-p/var/lib/redis mkdir-p/var/log/redis chown Redis.redis/var/lib/redis #db文件放在这里, to modify the Dir genus Redis.conf Of


This article from "Dot Drip" blog, reproduced please contact the author!

centos6.5 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.