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