Ubuntu installation Redis

Source: Internet
Author: User

The site is about to be completed when, began to do a performance test, found that some query performance is difficult to improve, so seek redis to solve. The process is as follows:

    1. Install Ubuntu Server 14.04.1 LTS

    2. Download the latest stable version of Redis, http://download.redis.io/releases/redis-2.8.17.tar.gz

    3. Tar decompression

    4. CD redis-2.8.17

    5. Make

    6. Error, CC can not find, should be this server version default without installing GCC, so, sudo apt-get install gcc

    7. Again make, error, reported jemalloc/jemalloc.h:no such file or Directory,stackoverflow on a search, the workaround is

      CD Deps
      Make Hiredis Jemalloc linenoise Lua
      Cd..
      Make install

    8. Cd.. Make again

    9. Compile successfully, prompt to make test under

    10. Make test, error, no Tcl, so sudo apt-get install Tcl

    11. Make Test all through

    12. sudo make install
      Done.

Ubuntu installation Redis

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.