have been using Redis, but they have not been manually installed, today in their own Mac fencing try, record easy to follow their own installation and deployment of servers;
At present, the company is using 2.8 version point Redis; I'm personally installing 2.6.16.
Redis 2.6.16 Version of: http://download.redis.io/releases/redis-2.6.16.tar.gz
After downloading, go to the directory to extract
- Step2. After entering the directory, do make, and the installation, there will be a lot of logs, after the completion of two steps and installation completed
Prompt make test to execute
- Step3. Connect to Redis and simple commands using
The above steps and the use of simple commands from download, installation and Redis, the whole process and completion;
Here is a simple operation of Redis by command, so the Java operation is usually provided through the Jedis package to provide links and corresponding API operations.
Redis MAC installation and simple command usage