Steps:
1 ' Decompression-->TAR-ZXVF redis-3.0.0.tar.gz-c/
2 ' Compiling-->make
3 ' Installation-->make prefix=/redis-3.0.0/6379 install
4 ' Copy-->CP redis.conf/redis-3.0.0/6379/
5 ' config-->redis.conf in daemonize Yes background run
6 ' Open service-->./bin/redis-server redis.conf
7 ' Test Client--->./BIN/REDIS-CLI
1 ' decompression-->tar-zxvf redis-3.0.0.tar.gz-c/
Unzip to the root directory
2 ' compiling-->make
Execute make command in makefile sibling directory
Before make, there are 2 executable files in SRC, and after make, there are 8 executable files in SRC;
The make command generates 6 executable files
3 ' Installation-->make prefix=/redis-3.0.0/6379 install
After installation, there is only one bin folder under the 6379 folder
4 ' Copy-->CP redis.conf/redis-3.0.0/6379/
Copy the configuration file under the 6379 folder
5 ' config-->redis.conf in daemonize Yes background run
-->vim redis.conf into the configuration;
-->:set Nu Display Line count
-->:i to modify
-->:qw Save and exit
Front Run-- analysis: Redis default daemonize is no, meaning, Redis-server will not be executed in the background, test redis-cli need to reopen a terminal terminal;
configured after -
6 ' Open service-->./bin/redis-server redis.conf
7 ' Test Client--->./bin/redis-cli
Redis--> Construction