Under Linux, Redis installation

Source: Internet
Author: User

The editor can't even paste the picture directly, but I like it. Had to make the post directly into the picture.

Use the Linux command as follows, for lazy classmates to copy and paste directly

1. Download the Redis installation package wget http://download.redis.io/releases/redis-2.8.12.tar.gz2. Unzip and rename TAR-ZVXF redis-2.8.12.tar.gz MV redis-2.8.12 redis28123. Enter redis2812, compile CD redis2812 make4. Error: Cc:command not found5. Installing Gcc:sudo Yum install GCC7. Solution Solution: Make malloc=libc problem reason: Refer to http://www.phperz.com/article/14/1219/42002.html9. In fact, Redis does not have to install, as long as makes can. Similar to the green software under Windows, you can run directly. See also: http://blog.csdn.net/chenggong2dm/article/details/61000011. Sure enough, as it wishes, even test himself error (you may not): You need TCL 8.5 or newer In order to run the Redis test12. Upgrade tcl wget http://downloads.sourceforge.net/tcl/tcl8.6.1-src.tar.gz tar-zxvf tcl    8.6.1-src.tar.gz cd Tcl8.6.1/unix sudo./configure sudo make sudo make install13. Back to the Redis interface, make test successively. As it wishes, error (you may not have): Test replication Partial Resync:no backlog in tests/integration/replication-psync.tcl14. WORKAROUND: See: https://github.com/antirez/redis/issues/141716. Boot: Go to the Utils directory, and then: sudo./install_server.sh. Another error: Mmmmm ... it seems like you don't have a redis executable. Did you run Makeinstall yet?17.2. Create a soft connection according to the Internet: Ln-s/usr/local/redis/bin/redis-*/usr/local/bin/service redis_6379 Startps-ef |  grep Redis

The installation process is as follows:

Under Linux, Redis installation

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.