Home > Article > Operation and Maintenance > How to install redis under linux system
<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!