Install Redis in Ubuntu14.04

Source: Internet
Author: User
Tags redis cluster install redis
Let's talk about the simple process of installing Redis under Ubuntu14.04. 1 go to the redis official site to download the latest stable version: http://redis.io/->Redis2.8.19isthelateststableversion. (or use the wget command to download) 2 in the login user to create a folder my-redis: mkdirmy-redis3 will download the redis just moved

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.04Http://www.linuxidc.com/Linux/2014-05/101544.htm

Redis master-slave replication basic configuration http://www.linuxidc.com/Linux/2015-03/115610.htm

Redis cluster details document http://www.linuxidc.com/Linux/2013-09/90118.htm

Ubuntu 12.10 install Redis (graphic details) + Jedis connection Redis http://www.linuxidc.com/Linux/2013-06/85816.htm

Redis series-installation, deployment, maintenance http://www.linuxidc.com/Linux/2012-12/75627.htm

CentOS 6.3 install Redis http://www.linuxidc.com/Linux/2012-12/75314.htm

Redis installation deployment learning notes http://www.linuxidc.com/Linux/2014-07/104306.htm

Redis configuration file redis. conf detailed description http://www.linuxidc.com/Linux/2013-11/92524.htm

Redis details: Click here
Redis: Click here

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2016-01/128032.htm

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.