Ubuntu redis and Ubuntu redis

Source: Internet
Author: User
Tags redis server

Ubuntu redis and Ubuntu redis

Home: http://redis.io/

Download and install:

The installation of redis is very simple. There are ready-made Makefile files, and you can directly run the make command.

<span style="font-size:18px;">$ cd /tmp$ wget http://download.redis.io/releases/redis-2.8.19.tar.gz$ tar xzf redis-2.8.19.tar.gz$ cd redis-2.8.19$ make</span>


There are four executable files under/usr/local/bin: Redis-benchmark, Redis-cli, Redis-server, Redis-statThese four files have the following functions:
  • Redis-server: daemon Startup Program of the Redis server
  • Redis-cli: Redis command line operation tool. Of course, you can also use telnet to operate based on its plain text protocol.
  • Redis-benchmark: Redis performance testing tool to test the read/write performance of Redis in your system and your configuration
  • Redis-stat: Redis status detection tool that can detect Redis's current status parameters and latency

Redis. conf is under/etc/redis.

This is a complete available redis package

Start to use:

Now you can start redis. redis has only one startup parameter, that is, its configuration file path.

Redis-server/etc/redis. conf

In this case, you can open a terminal for testing. The default listening port in the configuration file is 6379.

Redis-cli

The operation result is as follows:



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.