One, the first time to write a blog, not good please more attention.
-
To download redislinux version of the website, specific Baidu
-
Upload files to the usr/local directory via WINSCP
-
Decompression: TAR-ZXVF redis-3.2.9.tar.gz-c/usr/local/ Note: Extract to usr/local path after
-
Enter directory: cd/usr/local/redis-3.2.9
-
Compile: cd/usr/local/redis-3.2.9 then make
-
Install under src: cd/usr/loca/redis-3.2.9/src then make install
-
Modify Redis Profile: vim/usr/local/ redis-3.2.9/redis.conf
-
Modify the parameters as follows: Bind current IP address, daemonize instead of Yes
- log folder:/usr/local/ Redis-3.2.9/logs/redis.log (Create folder: mkdir/usr/local/reidis-3.2.9/logs/)
-
Data file storage:/usr/local/ Redis-3.2.9/datas (Build folder: mkdir/usr/local/reidis-3.2.9/datas/)
-
Start Redis service:/usr/lcoal/bin/ redis-server/usr/local/redis-3.2.9/redis.conf
-
Start Redis client:/usr/local/bin-h IP address-p port (default 6379)
-
Turn off Redis service:/USR/LOCAL/REDIS/BIN/REDIS-CLI-H IP address-p port (default 6379) shutdown
I personally summed up the above. Use the post-review configuration for Redis installation. We can learn from the reference. Please correct me for any shortcomings.
This article from the "12366937" blog, reproduced please contact the author!
Linux Install Redis Cache hands-on learning