Redis Combat _01_yucong_redis Installation

Source: Internet
Author: User
Tags benchmark

Installation of Redis
Http://redis.io/download
Installation steps:
1 put the downloaded redis-3.2.6-rc2.tar.gz into the linux/usr/local folder.
2 Unzip the TAR-ZXVF redis-3.2.6.tar.gz
3 Go to the redis-3.2.6 directory and compile make "execute made"
4 go to src installation make install "Execute make Install command" verification (see the directory under SRC, with REDIS-SERVER,REDIS-CLI)
5 Set up two folders to hold Redis commands and configuration files
Mkdir-p/usr/local/redis/etc
Mkdir-p/usr/local/redis/bin
6 Move the redis.conf under the redis-3.2.6 to/usr/local/redis/etc
7 The mkreleasehdr.sh, the Redis-benchmark, the redis-check-aof, the REDIS-3.2.6/SRC,
Redis-check-dump, REDIS-CLI, redis-server files move to the bin, command:
MV mkreleasehdr.sh Redis-benchmark redis-check-aof redis-check-dump redis-cli redis-server/usr/local/redis/bin
8 When you start and specify a profile:./redis-server/usr/local/redis/etc/redis.conf
(Note to use the background to start, all modify redis.conf in the daemonize change to Yes)
9 Verify that the startup is successful:
Ps-ef|grep Redis to see if there is a Redis service
or view port: Netstat-tunpl|grep 6379
Enter the Redis client./redis-cli [-H ip-p 6379] Exit client quit
To exit the Redis service:
(1) Pkill Redis-server
(2) Kill process number
(3)/USR/LOCAL/REDIS/BIN/REDIS-CLI shutdown

Redis Combat _01_yucong_redis installation

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.