Home  >  Article  >  Operation and Maintenance  >  How to install redis under linux system

How to install redis under linux system

怪我咯
怪我咯Original
2017-06-27 09:56:511642browse
<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>

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

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!

Statement:
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