安装依赖包的作用是为编译和安装Redis提供必要的依赖和环境。
执行如下命令安装依赖包。
yum -y install wget git vim tar make gcc gcc-c++ libatomic