Install and test Redis in Ubuntu 14.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.

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

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

Redis. conf

------------------------------ 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, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

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.