目录
二、上传redis至liunx系统(使用工具Xftp与Xshell)
本文默认为第一次安装redis
一、redis下载
百度网盘下载:
链接:https://pan.baidu.com/s/1meroq0X_GZI8f1e3x9opDw
提取码:lyby
二、上传redis至liunx系统(使用工具Xftp与Xshell)
https://www.xshell.com/zh/all-downloads/注:Xshell与Xftp可以从官网下载(个人点击下载页面的免费授权进行认证下载)https://www.xshell.com/zh/all-downloads/
将下载好的redis安装包,上传至liunx系统中的upload文件夹中(文件路径,可以自定义)
三、检查是否安装了gcc环境
1、使用 Xshell 连接liunx服务器,输入命令行:
gcc --version
2、出现如下提示 ,则表明需要安装gcc环境
gcc: error: unrecognized command line option ‘-version’
gcc: fatal error: no input files
compilation terminated.
3、进行gcc环境安装:
yum install gcc
4、检查是否安装成功,出现如下提示,表示安装成功
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.