How to install redis under linux system

怪我咯
Release: 2017-06-27 09:56:51
Original
1648 people have browsed it
<code>去官网找到合适的版本,可以直接下载下来,再用fxp上传,也可以直接以下面这种方式下载:<br>$ wget http://download.redis.io/releases/redis-3.2.9.tar.gz
$ tar xzf redis-3.2.9.tar.gz
$ cd redis-3.2.9
$ make<br><br>启动服务:<br></code>
Copy after login

测试是否成功:
Copy after login
$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"
Copy after login
 <br>
Copy after login
Copy after login
<br><br><br>
Copy after login
 <br>
Copy after login
Copy after login

The above is the detailed content of How to install redis under linux system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template