Step 1: Download redise through weget
# wget http://download.redis.io/releases/redis-2.8.17.tar.gz
# tar xzf redis-2.8.17.tar.gz
# cd redis-2.8 .17
#
The second step of make: After compiling, the compiled redis service program redis-server and the client program redis-cli for testing will appear in the redis-2.8.17 directory. The two programs are located in the installation directory src Under the directory:
start the redis service below.
# cd src
# ./redis-server
appears: as shown in the figure below, indicating that the installation is successful:
if it is installed under windows
Download address:
http://download.csdn.net/detail/ The chainisit/9400072 is
downloaded and can be used after decompression:
if you need to start the redis host to a Windows service.
Run the Windows service-install
command : redis-server --service-install redis.windows.conf --loglevel verbose
to check whether the service is added successfully:
Install redise under Centos7
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326231367&siteId=291194637
Recommended
Ranking