Home > Backend Development > PHP Tutorial > redis installation steps

redis installation steps

WBOY
Release: 2016-07-29 09:01:41
Original
1056 people have browsed it

redis installation steps:

----- Sometimes things that were installed a long time ago will be forgotten after not reinstalling them for a long time. Just a few days ago, when I needed to install redis, I couldn’t remember it. I checked some As mentioned on the Internet, I also encountered some problems, so I will take notes in advance to prevent myself from encountering similar problems next time. I am not a smart person, so I usually use my own way to solve problems again.

First of all, you can check the redis official website

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

The installation steps are as follows:

        Method 1: Manually download

                         Go directly Download the installation package from the website, and then unzip it in the directory redis-3.0.7 2: Go to the redis-3.0.7 directory you just downloaded, cd redis-3.0.7

3: make compile 4: make install

Method 2: Use command method to download

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

Description: wget is a tool for downloading files, the above command Indicates: Go to the specified website to download something, and download the thing to the current directory

                                                                                                                                                          to                                                       to                                           命 execute commands under the terminal:

CD ~ Enter the home directory so that you can see the "Download Directory"

redis installation steps CD DOWNLOADS you are looking for, enter the download directory, then execute weget http://download.redis.io/releases/redis-3.0.7.tar.gz                                                                                                            : make Compilation a 4: Make Install Installation and above is the method of installing Redis. After the installation is complete: execute command: Reids-Server starts the Redis server, if you see the image below, it means that you have successfully installed

                                                                                                    redis installation steps The above introduces the redis installation steps, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template