Installation and use of Redis under Linux

Source: Internet
Author: User

Redis Official website: http://www.redis.io/download

1. Installation

Wget down installation package: wget http://download.redis.io/releases/redis-3.0.7.tar.gz

Decompression: Tar xzf redis-3.0.7.tar.gz

Go to Redis directory: CD redis-3.0.7

Compiling Redis, executing the make command: Make

2. Boot (in redis-3.0.7.tar.gz directory)

Start command: SRC/REDIS-CLI or Src/redis-server redis.conf

The interface shown in the figure shows that the Redis boot was successful.

If you are not at ease, you can see if Redis is started by ps-ef |grep-i redis command

Use of 3.redis

Start REDIS,SRC/REDIS-CLI

Then ping the network whether it is possible, but I have a question, I do not have any error, but it is not the output of the outage, Then I modified the next redis.conf inside a configuration, start is no, I changed to yes,but I check this place on the Internet is set to run the background, so I do not understand how this is going, but after the change is OK

Look at the change after the, OK, check the network no problem, set is not OK

4. Restart Redis

sudo redis-server/etcredis.conf

I was just beginning to contact, first so much, so I research and research to update

Installation and use of Redis 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.