1. Installing Redis

Source: Internet
Author: User
Tags download redis

First condition: Install VMware to install CentOS in the virtual machine.

Installation steps:

1. Open Terminal (Terminal)

2. In terminal input: wget http://download.redis.io/releases/redis-3.2.0.tar.gz, download Redis Package

3. Unzip the Redis package:tar xzf redis-3.2.0.tar.gz

4. Go to the directory you just unzipped:cd redis-3.2.0

5. Installation:make

Tips:

Here are two questions

The first is to extract the error, because I started with Windows directly downloaded, copied to the CentOS, it may be an error

The second is an error in the installation step, the hint: make CC Command is not found, because I install CentOS, the use of a thin installation, the system is not installed in the GCC environment, so before this need to run: Yum install gcc for the installation of the GCC environment, Note When you run this command, you need to get root privileges, enter SU carriage return in the terminal and enter the password to return to the line.

6. Start the Redis service:src/redis-server

Redis uses 6379 ports by default

7. Client Connection:src/redis-cli

At this point, the installation steps have all been completed.

Official Installation Introduction please visit: http://redis.io/download

1. 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.