Redis is one of the more popular NoSQL databases, and the following is a recording of the Redis installation process:
1. Introduction of Installation Environment:
Redis version: redis-3.0.1
Linux version: Red Hat Enterprise Linux Workstation Release 7.0 (MAIPO)
2. Download the required Redis file
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 to the corresponding machine via the Xmanager xftp tool, and place the redis-3.0.1.tar.gz under the/redis folder, such as:
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 through the./redis-server/redis/redis-3.0.1/redis.conf.
6. Verify that the server is started successfully
Connect to the client via./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
Turn off Redis service:./redis-cli-h 192.168.153.138-p 6379
View redis information:./redis-cli-h 192.168.153.138-p 6379 Info
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Redis Installation Tutorials