目录
访问reids客户端github链接
- 然后来到如图所示的installation页面。这个标签说明了如何安装Redis客户端。
- 安装之前首先需要安装hiredis,因为redis依赖于hiredis。
- hiredis是c语言版本的redis
- 如果访问不了github页面,可以使用steam++(官网搜索steam++或者wait toolkit)安装进行加速。
安装git
在远程克隆代码之前需要使用到git命令,此时就需要下载git:
- centos:
- 首先需要进入root模式
- 有需要的可以更新yum:sudu yum update
- 安装git:yum install git
- ubuntu:
- 仅仅以 sudo 权限用户身份运行下面的命令
- 更新apt:sudo apt update
- 安装&