原文地址: 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
logback简单实现对日志的保存和处理,且保存有效时间,7天, 配置文件 <?xml version="1.0" encoding="UTF-8"?> <configuration> <springProperty scope="context" name="loglevel" source="l ...
分类:
编程语言 时间:
2021-04-26 13:55:32
阅读次数:
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
意思就是在使用response.sendRedirect()或者request.getRequestDispatcher(args).forward(request,response)进行页面跳转时,后面还有未执行完的语句,解决方法就是在界面跳转语句时加return;或者竟可能把跳转语句加到末尾。 ...
分类:
其他好文 时间:
2021-04-26 13:35:56
阅读次数:
0