摘要: root # crontab -l0 1 * * * sh /opt/lvs_conf_bak.sh &>/dev/nullroot # cat /opt/lvs_conf_bak.sh#!/bin/sh...ipvsadm-save -n > x.sav... 阅读全文
posted @ 2020-09-24 10:32 M1927 阅读(163) 评论(0) 推荐(0)
摘要: 参考自:Allow user1 to “su - user2” without password https://unix.stackexchange.com/questions/113754/allow-user1-to-su-user2-without-password 需求: 在user1用户 阅读全文
posted @ 2020-09-03 18:12 M1927 阅读(1060) 评论(0) 推荐(0)
摘要: # man thin_checkthin_check 检查验证设备或文件的精简配置元数据。thin_check checks thin provisioning metadata created by the device-mapper thin provisioning target on a d 阅读全文
posted @ 2020-08-24 17:46 M1927 阅读(1127) 评论(0) 推荐(0)
摘要: http://nginx.org/en/docs/http/server_names.html#regex_names 匹配优先顺序 精确名称,无通配符,无正则。 以星号开头的最长的通配符名称,例如"*.example.org"。 以星号结尾的最长的通配符名称,例如"mail.*" 第一个能匹配的正 阅读全文
posted @ 2020-07-03 17:29 M1927 阅读(253) 评论(0) 推荐(0)
摘要: 脚本准备 0Batch_Check.sh 1port_check.sh 2wechat_bot_alert.sh CheckList CheckList 0Batch_Check.sh 2wechat_bot_alert.sh 加到定时任务中 crontab l /10 cd /data/Scrip 阅读全文
posted @ 2020-01-17 16:55 M1927 阅读(551) 评论(0) 推荐(0)
摘要: 先吐槽一下这个工具,配置繁琐,限制规则复杂,报错信息不够详细,学起来吃力。 准备工作 安装客户端和服务端 修改配置 虚拟用户登录认证 生成认证数据库,每次修改v_user_list都要重新生成一遍 配置PAM认证规则,即时生效,不必重启vsftpd 参考资料:https://www.cnblogs. 阅读全文
posted @ 2019-12-13 15:11 M1927 阅读(433) 评论(0) 推荐(0)
摘要: Java环境准备 JDK下载 https://www.oracle.com/technetwork/java/javase/overview/index.html elk下载 https://www.elastic.co/cn/downloads/ Elasticsearch es配置文件修改 系统 阅读全文
posted @ 2019-11-19 11:21 M1927 阅读(505) 评论(0) 推荐(0)
摘要: 安装bind # yum install -y bind bind-utils bind-chroot 修改配置文件 # grep '^[^#]' /etc/named.conf options { listen-on port 53 { any; }; 。。。 allow-query { any; 阅读全文
posted @ 2019-11-12 19:32 M1927 阅读(281) 评论(0) 推荐(0)
摘要: 参考:https://bndong.github.io/Cnblogs-Theme-SimpleMemory/v1.1/#/Docs/GettingStarted/install 感谢:BNDong 需要JS权限,没有的请先申请权限。 CSS: #EntryTag { margin-top: 20p 阅读全文
posted @ 2019-10-25 09:30 M1927 阅读(119) 评论(0) 推荐(0)
摘要: 生产环境的CPU飚高,发现可疑进程 一执行就删除了 kill -9 强杀,crond -l 检查发现异常,先清理定时任务 0 *... 阅读全文
posted @ 2019-08-19 11:45 M1927 阅读(62) 评论(0) 推荐(0)