CentOS 6.5 Installation redis3.0.6

Source: Internet
Author: User

1. Download the Redis installation package

Address: http://download.redis.io/releases/redis-3.0.6.tar.gz
2. Unzip the installation package

Command: Tar zvxf redis-3.0.6.tar.gz

3. Go to the folder and install

Command: CD redis-3.0.6.tar.gz

Command: Make

4. Test whether the installation is successful

Command: Make Test

Error occurred:

[[email protected] redis-stable]# make test
CD src && make test
MAKE[1]: Entering directory '/USR/LOCAL/SRC/REDIS-STABLE/SRC '
Which:no tclsh8.5 in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ Geffzhang/bin)
You need ' tclsh8.5 ' on order to run the Redis test
MAKE[1]: * * [Test] Error 1
MAKE[1]: Leaving directory '/USR/LOCAL/SRC/REDIS-STABLE/SRC '
Make: * * * [Test] Error 2
[Email protected] redis-stable]#

Cause: TCL is not installed

Workaround: Yum Installation

Command: Yum install-y tcl

5. Start the installation

Command: Make install

Follow the prompts to execute the command: CD src && make install

6. Start Redis

Command:./Redis-Server (default configuration startup)

Command:./Redis-server Redis. Conf (Specify configuration start)

CentOS 6.5 Installation redis3.0.6

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.