Ubuntu Installation Redis Experience

Source: Internet
Author: User

?

background : Because before has not tried the Linux environment, today added the memory, the virtual machine opened 3G, the speed greatly increases, compared with the blog to try to install the Redis process.

?

Experience :

  1. Download source code, unzip, compile
    1. $ wget http://download.redis.io/releases/redis-2.8.3.tar.gz

    ?

    Download complete

    ?

    1. $ tar xzf redis-2.8.3.tar.gz
    2. $ CD redis-2.8.3
    3. $ make

    ?

  2. Copy the compiled file to a directory;
    1. Mkdir/usr/redis
    2. CP Redis-server/usr/redis
    3. CP Redis-benchmark/usr/redis
    4. CP Redis-cli/usr/redis
    5. CP Redis.conf/usr/redis
    6. Cd/usr/redis

    ?

    ?

  3. Start the server;
    1. $./redis-server./redis.conf

    ?

  4. Start the client and test read-write Key-value.
    1. $./redis-cli

    ?

?

At this point, the server started successfully!

?

Reference: http://www.cnblogs.com/silent2012/p/3499654.html

?

Ubuntu Installation Redis Experience

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.