起因 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
#include <iostream> #include <algorithm> #include <cstdio> using namespace std; const int N = 2e5 * 20; int a[N], b[N], root[N]; struct President_Tree ...
分类:
其他好文 时间:
2021-04-27 15:01:57
阅读次数:
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
原文地址: https://blog.csdn.net/oToyix/article/details/106170701 repo的路径不要放到root下,放到/usr/share/nginx/下,要不没权限 Centos 7建立本地内网源一、环境二、先配置163base源及阿里epel源三、建立本 ...
分类:
其他好文 时间:
2021-04-27 14:52:02
阅读次数:
0
环境说明: node1: 192.168.44.128 服务端 (已经装好zabbix_agentd和zabbix_server) node2: 192.168.44.129 客户端 (已经装好zabbix_agentd) //配置本地邮箱[root@node1 ~]# systemctl stop ...
分类:
其他好文 时间:
2021-04-27 14:45:06
阅读次数:
0
本地邮箱告警配置 配置本地邮箱告警前,我们要用到mail命令 所以先安装mail命令 [root@mf ~]# yum -y install mailx 使用mail命令发送邮箱 [root@mf ~]# echo "test" | mail -s "20210426" 18808843007@16 ...
分类:
其他好文 时间:
2021-04-27 14:43:11
阅读次数:
0
1.在root权限下登录mysql 2.进入mysql库 mysql>use mysql 3.查看root用户权限 mysql>select User,Host,plugin from user; 4.将root用户的auth_sock改为mysql_native_password mysql>up ...
分类:
数据库 时间:
2021-04-27 14:42:37
阅读次数:
0
Master配置 global_defs { notification_email { root@localhost } notification_email_from keeplived@localhost smtp_server 127.0.0.1 smtp_connect_timeout 30 ...
分类:
其他好文 时间:
2021-04-27 14:42:00
阅读次数:
0
一些crontab调度示例 10 6 * * * root reboot 10 7 * * * python /root/confluence_backup.py */5 * * * * flock -xn /tmp/stargate.lock -c '/usr/local/qcloud/starg ...
分类:
其他好文 时间:
2021-04-27 14:12:22
阅读次数:
0
1,下载nginx 2,解压后打开conf/nginx.conf 修改配置 server { listen 8841;#监听端口 server_name localhost;#代理服务地址 location / { #默认访问 root html; index index.html index.ph ...
分类:
其他好文 时间:
2021-04-26 13:57:20
阅读次数:
0