Redis installation steps

Source: Internet
Author: User
Tags redis server
: This article describes how to install redis. if you are interested in the PHP Tutorial, refer to it. Redis installation steps:

----- Sometimes things that have been installed a long time ago and never re-installed for a long time will forget that I won't be able to install redis just a few days ago when I need to install redis. I checked some of what I said online, I also encountered some problems, so I should avoid similar problems next time. I take notes in advance. I am an unintelligent person, so I usually use my own method, to solve the problem again

First, you can see the official redis website

The latest version of the Redis installation package is available on the official website. you can download it first.

The installation procedure is as follows:

Method 1: manually download

1: directly go to the Web site to download the installation package, and then extract in the directory redis-3.0.7

2: Enter the downloaded redis-3.0.7 Directory, cd redis-3.0.7

3: make compilation

4: make install installation

Method 2: download using commands

1: wget http://download.redis.io/releases/redis-3.0.7.tar.gz

Note: wget is a tool for downloading files. the preceding command indicates to download objects at the specified URL and download them to the current directory.

For example, I want to download the redis installation package to "download" on my MAC, as shown in my Directory.

Run the following command on the terminal:

Cd ~ Enter the home directory to see the "download directory" you are looking"


Cd Downloads go to the download directory, and then execute the weget http://download.redis.io/releases/redis-3.0.7.tar.gz

2: then execute the tar xzf redis-3.0.7.tar.gz to unzip the installation package

3: make compilation

4: make install installation

The above is how to install redis

After the installation is complete: execute the command: reids-server to start the redis server. if you see the following image, it indicates that the installation is successful.


The above describes the redis installation steps, including the content, and hope to be helpful to friends who are interested in the PHP Tutorial.

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.