摘要: 1、查看 [root@dev-server ~]# getenforce Disabled [root@dev-server ~]# /usr/sbin/sestatus -v SELinux status: disabled 2、临时关闭 ##设置SELinux 成为permissive模式 ## 阅读全文
posted @ 2021-12-13 13:17 有梦的秋天 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 一、安装gcc依赖 由于 redis 是用 C 语言开发,安装之前必先确认是否安装 gcc 环境(gcc -v),如果没有安装,执行以下命令进行安装 [root@localhost local]# yum install -y gcc 二、下载并解压安装包 [root@localhost local 阅读全文
posted @ 2021-12-13 13:03 有梦的秋天 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 1、安装wgetyum install -y wget2、下载CentOS7版本的.repo文件//备份原文件cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak //下载新文件wget -O /etc/ 阅读全文
posted @ 2021-12-13 11:02 有梦的秋天 阅读(345) 评论(0) 推荐(0) 编辑