起因 CentOS7自带Git1.8版本,版本太低。 更新步骤 1 卸载旧版本Git yum remove git 2 下载依赖(环境配置) yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel as ...
分类:
其他好文 时间:
2021-04-27 15:16:15
阅读次数:
0
配置lvs-dr环境 master配置文件 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_conne ...
分类:
其他好文 时间:
2021-04-27 14:56:45
阅读次数:
0
# CentOS7 rm -f /etc/yum.repos.d/*.repo curl -L "http://mirrors.163.com/.help/CentOS7-Base-163.repo" -o /etc/yum.repos.d/CentOS7-Base-163.repo curl -L ...
分类:
其他好文 时间:
2021-04-27 14:17:29
阅读次数:
0
环境:centos7 1、准备挂载盘 (创建pv-vg-lv) [root@node3 ~]# pvcreate /dev/sdb Physical volume "/dev/sdb" successfully created. [root@node3 ~]# pvs PV VG Fmt Attr ...
分类:
其他好文 时间:
2021-04-26 13:49:19
阅读次数:
0
ntpddate 命令用于使用网络计时协议(NTP)设置日期和时间。还可以用于同步时间,此命令需要具备root管理员权限才可执行。 命令简介 ntpddate 命令用于使用网络计时协议(NTP)设置日期和时间。还可以用于同步时间,此命令需要具备root管理员权限才可执行。 [root@centos7 ...
分类:
系统相关 时间:
2021-04-26 13:33:52
阅读次数:
0
Centos6 使用的是iptables,Centos7 使用的是filewall(-cmd)iptables 用于过滤数据包,属于网络层防火墙。firewall 能够允许哪些服务可用,那些端口可用...属于更高一层的防火墙。 1.firewalld的基本使用启动: systemctl start ...
分类:
其他好文 时间:
2021-04-26 13:32:00
阅读次数:
0
说明: a.此种方式安装可以利用国内镜像,下载速度快。 b.适合最新版安装 1.获取yum安装地址 [root@bigdata-senior02 mysql]# wget https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql80-community ...
分类:
数据库 时间:
2021-04-26 13:12:57
阅读次数:
0
Loaded plugins: fastestmirror, langpacks Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error w ...
分类:
Web程序 时间:
2021-04-24 13:53:03
阅读次数:
0
NAT拓扑 lvs-server VIP:10.211.55.99DIP:10.37.129.99 负载均衡器 开启路由功能(VIP桥接,DIP仅主机) rs01 RIP:10.37.129.3 后端服务器 网关指向DIP rs02 RIP: 10.37.129.4 后端服务器 网关指向DIP LV ...
分类:
其他好文 时间:
2021-04-24 13:24:31
阅读次数:
0
1、测试数据 [root@centos7 test3]# cat b.txt e t s e s g m x w d g i d t e g x g e w 2、打印匹配w的行 [root@centos7 test3]# cat b.txt e t s e s g m x w d g i d t e ...
分类:
系统相关 时间:
2021-04-24 13:18:10
阅读次数:
0