Install and test Redis in Ubuntu14.04

Source: Internet
Author: User
Abstract: Redis is a very popular memory database in the industry. It is generally used as an intermediate cache system for improving the throughput and response speed of the overall commercial system. This article briefly introduces the installation process and provides a brief test code. ------------------------------ Recommended editing -------------------------------- Redis cluster detailed document http://www.linuxidc.com/Linu

Abstract: Redis is a very popular memory database in the industry. It is generally used as an intermediate cache system for improving the throughput and response speed of the overall commercial system. This article briefly introduces the installation process and provides a brief test code.

------------------------------ Editing recommendations ------------------------------

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 configuration file redis. conf detailed description http://www.linuxidc.com/Linux/2013-11/92524.htm

------------------------------ Editing recommendations ------------------------------

1. System Environment and version description

The Linux operating system uses Ubuntu 14.04 and the Redis version is the latest stable version 2.8.9. The client selects Redis Java version jedis 2.4.2.

2. Install Redis

A. Download The Redis installation package

Wget http://download.redis.io/releases/redis-2.8.9.tar.gz

B. In the directory, extract according to the package, generate a new directory redis-2.8.9

Tar xvfz redis-2.8.9.tar.gz

C. Enter the decompressed directory and compile it.

Cd redis-2.8.9

Sudo make

NOTE: If there are no obvious errors, the compilation is successful.

D. Install

Sudo make install

Note: Generally, in Ubuntu, sudo must be used to enhance permissions.

E. After the installation is successful, run the test to check whether the Redis function is normal.

Sudo make test

For more details, refer to the highlights on the next page.: Http://www.linuxidc.com/Linux/2014-05/101544p2.htm

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.