本来以为很简单的安装,入坑了。 1、从官网下载Redis.tar包 https://redis.io/download 2、在ssh中解压,make没想到出现一堆错误 3、赶紧百度查资料才发现Redis 6需要 gcc版本需要大于5.0 ,而Centos7默认版本为4.85 4、重新安装gcc yu ...
分类:
其他好文 时间:
2020-09-10 23:10:19
阅读次数:
51
1.查看软件方法: rpm -qa |grep nginx 2.安装软件方法: yum install -y nginx或yum localinstall xxx.rpm -y 或 rpm -ivh xxx.rpm或重新安装yum reinstall nginx -y ./configure (配置 ...
分类:
其他好文 时间:
2020-09-10 22:56:39
阅读次数:
46
yum源:[root@jack7-1yum.repos.d]#catali*[aliBase]name=aliBasebaseurl=https://mirrors.aliyun.com/centos/$releasever/os/$basearch/enabled=1gpgcheck=1gpgkey=https://mirrors.aliyun.com/centos/$releasever/os
分类:
其他好文 时间:
2020-09-10 22:45:35
阅读次数:
36
官方地址:https://mirrors.tuna.tsinghua.edu.cn/help/centos/ 前提:连接外网 1、copy sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak ...
分类:
其他好文 时间:
2020-09-10 22:37:34
阅读次数:
59
[root@bogon ~]# yum update 已加载插件:fastestmirror, product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlem ...
分类:
数据库 时间:
2020-09-09 18:45:35
阅读次数:
63
一环境:1.登录centos:2.查看ssh是否安装:输入命令:rpm-qa|grepssh若没安装SSH则可输入:yuminstallopenssh-server安装3.ssh服务器管理:启动服务:(默认启动)systemctlstartsshd查看端口:netstat-antp|grepsshd//22号端口提供者SSH服务4.开机启动(默认启动)systemctlenablesshd5.登录
分类:
其他好文 时间:
2020-09-08 21:02:07
阅读次数:
57
环境:centos7--------客户端centos6--------客户端zabbix官网:https://www.zabbix.com/选择对应系统版本的yum源由于官方yum源比较慢而且有时候找不到包推荐使用:https://mirrors.tuna.tsinghua.edu.cn/zabbix/选择版本替换yum源baseurl即可centos6为例:[zabbix]name=Zabbi
分类:
其他好文 时间:
2020-09-07 18:52:22
阅读次数:
44
1、安装teamd[root@web01~]#yum-yinstallteamd2、停止NetworkManager什么是NetworkManager呢?NetworkManager服务是管理和监控网络设置的守护进程,CentOS7更加注重使用NetworkManager服务来实现网络的配置和管理,CentOS7以前是通过network服务管理网络,以后的版本所有网络管理和设置统一由Network
分类:
系统相关 时间:
2020-09-07 18:45:19
阅读次数:
49
节点设置: 系统:CentOS7 MySQL:最新 192.168.100.101 node01 主 192.168.100.102 node02 从 192.168.100.103 node03 从 简单原理: 步骤: 第一步:安装mysql(yum源安装,最简单,可自动替换mariaDB) 1. ...
分类:
数据库 时间:
2020-09-04 17:07:00
阅读次数:
57
##一、KVM软件安装 1、 环境准备 2、 查看CPU是否支持VT技术 [root@qfedu.com ~]# cat /proc/cpuinfo | grep -E 'vmx|svm' 3、清理环境:卸载KVM [root@qfedu.com ~]# yum remove `rpm -qa | ...
分类:
其他好文 时间:
2020-09-03 16:49:07
阅读次数:
50