First condition: Install VMware to install CentOS in the virtual machine.
Installation steps:
1. Open Terminal (Terminal)
2. In terminal input: wget http://download.redis.io/releases/redis-3.2.0.tar.gz,
download Redis Package
3. Unzip the Redis package:tar xzf redis-3.2.0.tar.gz
4. Go to the directory you just unzipped:cd redis-3.2.0
5. Installation:make
Tips:
Here are two questions
The first is to extract the error, because I started with Windows directly downloaded, copied to the CentOS, it may be an error
The second is an error in the installation step, the hint: make CC Command is not found, because I install CentOS, the use of a thin installation, the system is not installed in the GCC environment, so before this need to run: Yum install gcc for the installation of the GCC environment, Note When you run this command, you need to get root privileges, enter SU carriage return in the terminal and enter the password to return to the line.
6. Start the Redis service:src/redis-server
Redis uses 6379 ports by default
7. Client Connection:src/redis-cli
At this point, the installation steps have all been completed.
Official Installation Introduction please visit: http://redis.io/download
1. Installing Redis