Redis is one of the more popular NoSQL databases, and the following records the Redis installation process:
1. Installation Environment Introduction:
Redis version:redis-3.0.1
Linux version: Red Hat Enterprise Linux Workstation Release 7.0 (MAIPO)
2. Download the required Redis files
Download the latest stable version in Http://redis.io. The download here is redis-3.0.1.tar.gz
3. Put the downloaded files into the Linux system
Connect the Xftp tool to the corresponding machine through the Xmanager and place the redis-3.0.1.tar.gz under the/redis folder, as shown below:
4. Unzip and compile the compressed file
Decompression: Tar zxvf redis-3.0.1.tar.gz
Compiling: Make
5. Start Redis Server
Switch to the SRC directory and start the server with the./redis-server/redis/redis-3.0.1/redis.conf.
6. Verify that the server is started successfully
Connect to the client through the./redis-cli-h 192.168.161.252-p 6379 and set the correlation value to verify that the server started successfully
7. Other related command reference
View Redis Related threads: Ps-ef|grep Redis
Close Redis Service:/redis-cli-h 192.168.153.138-p 6379
View redis information:./redis-cli-h 192.168.153.138-p 6379 Info
The above is the installation of Redis all steps, I hope to install Redis help.