Install Redis in Ubuntu 14.04

Source: Internet
Author: User
Tags redis cluster install redis

Install Redis in Ubuntu 14.04

Let's talk about the simple process of installing Redis in Ubuntu 14.04.

1 go to the redis official website to download the latest stable version: http://redis.io/-> Redis 2.8.19 is the latest stable version. (or use the wget command to download)

2. Create the my-redis: mkdir my-redis folder under the logged-in user.

3 move the downloaded redis to the created folder mv redis-x.x.x.tar.gz/home/xxx/my-redis

4 unzip: tar xvfz redis-xx.xx.xx.tar.gz

5 go to the file just extracted: cd redis-xx.xx.xx

6 compile sudo make and wait for a while ....

7. install make install

8. test sudo make test. The problem is as follows:

Sevencm @ sevencm-cp :~ /My-redis/redis-2.8.19 $ sudo make test
Cd src & make test
Make [1]: In directory '/home/sevencm/my-redis/redis-2.8.19/src'
You need tcl 8.5 or newer in order to run the Redis test
Make [1]: *** [test] Error 1
Make [1]: Leaving directory '/home/sevencm/my-redis/redis-2.8.19/src'
Make: *** [test] Error 2

9 It seems that the tcl version is too low, so we have to install tcl;

10 open new terminal-use wget: wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz
11 unzip to/usr/local tar xvfz tcl8.6.1-src.tar.gz-C/usr/local

12 cd/usr/local/tcl8.6.1/unix/

13 sudo./configure

14 sudo make

15 sudo install

16 return the terminal of make test and execute make test again for a while. OK:

You may also like the following articles about Redis. For details, refer:

Install and test Redis in Ubuntu 14.04

Basic configuration of Redis master-slave Replication

Redis cluster details

Install Redis in Ubuntu 12.10 (graphic explanation) + Jedis to connect to Redis

Redis series-installation, deployment, and maintenance

Install Redis in CentOS 6.3

Learning notes on Redis installation and deployment

Redis. conf

Redis details: click here
Redis: click here

This article permanently updates the link address:

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.