1. Copy the installation package to the OPT path
2. Unzip the folder TAR-ZXVF XXX.tar.gz
3. Make report a heap of Errors gcc command not found
4, to the packages directory to execute 4 commands (no network)
The Internet is yum.
5, continue to make, continue to error
6, to the Redis path to clean the hard disk, make Distclean
7, come on make, just fine
Take a look at the bin directory, where Redis-related files are saved
Cd/usr/local/bin
Note The file path, I have been wrong several times, see the details
8, CP a configuration file to opt, named Myredis file, change the configuration file in the
Switch back to Redis in OPT, see details, with config file
9. Start command, redis-server/myredis/redis.conf
Using Client access, verify ping pong, OK, installation complete O (∩_∩) o~
=========================================================
Redis installation in a Linux virtual machine