Deploy a Redis instance as a cache for verification and record the deployment process.
Official website: http://redis.io/. currently, the latest stable version is 2.6.14.
Decompress the package and enter the directory. Follow the instructions in the README file for compilation and verification.
Run the command in the extracted root directory.
$> Make
After execution, you can use
$> Make test
For verification, we basically see a bunch of OK.
After compilation, start the Redis service. Go to the src directory.
$> Cd src
$>./Redis-server
Now, the redis service is started. If you want to install redis-related commands under/usr/local/bin,
Executable
$> Make install
After the service is started, you can run the client command to verify whether the service is running normally.
Now, a redis service is deployed. If you want to use Java to download the Jedis package, the API is very simple.