Redis (ii) Redis installation under Linux

Source: Internet
Author: User
Tags create directory redis download install redis

The previous article explained the installation of Redis under Windows, and then look at how to install Redis (beginner entry level) under Linux.

(1) Redis download and compile

Here, first go into the storage file directory (my cloud server is: cd/jelly/redis/)

wget http://download.redis.io/releases/redis-3.0.0.tar.gz (Download)

Tar xzf redis-3.0. 0.tar.gz (unzip)

Cd/src

Make (Compile)

(2) Start Redis service

MV redis3.0.0 redis3.0 (rename)

Mkdir-p/usr/local/cluster/7000 (Create directory, prepare for subsequent clusters)

cp/jelly/redis/redis3.0/redis.conf/usr/local/cluster/7000

cp/jelly/redis/redis3.0/src/redis-server/usr/local/cluster/7000

cp/jelly/redis/redis3.0/src/redis-cli/usr/local/cluster/7000

cp/jelly/redis/redis3.0/src/redis-benchmark/usr/local/cluster/7000

cd/usr/local/cluster/7000

VI redis.conf

Modify Port 6379==== "" 7000

Starting service: Redis-server redis.conf

(3) Redis service test

1, the use of REDIS-CLI test (REDIS-CLI-P)

2. Redis Visualization tool test

3. Using Servicestack.redis to connect Redis test

  

The test is complete.

  

  

Redis (ii) Redis installation under Linux

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.