Installation of Redis with detailed error analysis in installation steps and Installation

Source: Internet
Author: User

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

2. Extracting files

Tar zxvf redis-2.8.13.tar.gz

3. Switch directories to the redis-2.8.13 directory

CD redis-2.8.13

4. Execute the Make command

Error 1:make:cc:command not found make: * * * [ADLIST.O] Error 127 When performing this step

Error Analysis: The GCC environment is not installed in Linux

WORKAROUND: # Yum Install gcc//installing GCC; # RPM-QA |grep gcc//Verify that GCC is installed successfully

5. Execute the Make install command to copy the executable program to/usr/local/bin so that the program can execute without entering the full path

6. Execute the Make Test command to test whether the compilation is correct

Performing this step may be error 1:you need TCL 8.5 or newer in order to run the Redis test

Error analysis: Make test script is Tcl script, need to install TCL interpreter

Workaround: 1.wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz

2.tar XZVF tcl8.6.1-src.tar.gz

3./tcl8.6.1/unix/

4./configure

5. Make

6. Make Install

Installation of Redis with detailed error analysis in installation steps and Installation

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.