会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
NO.27149
人类世界是个草台班子,定义了一堆蹩脚的规则……
博客园
首页
新随笔
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页
2020年9月24日
已解决:在/var/spool/cron/root中执行shell脚本定时任务,ipvsadm-save -n > x.save保存的文件为空
摘要: 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)
2020年9月3日
使用PAM模块实现普通用户之间su免密切换
摘要: 参考自: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)
2020年8月24日
thin_check命令 man手册
摘要: # 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)
2020年7月3日
Nginx server_name翻译
摘要: http://nginx.org/en/docs/http/server_names.html#regex_names 匹配优先顺序 精确名称,无通配符,无正则。 以星号开头的最长的通配符名称,例如"*.example.org"。 以星号结尾的最长的通配符名称,例如"mail.*" 第一个能匹配的正
阅读全文
posted @ 2020-07-03 17:29 M1927
阅读(253)
评论(0)
推荐(0)
2020年1月17日
UDP端口检查告警SHELL脚本(企业微信版机器人版)
摘要: 脚本准备 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)
2019年12月13日
从零搭建vsftpd
摘要: 先吐槽一下这个工具,配置繁琐,限制规则复杂,报错信息不够详细,学起来吃力。 准备工作 安装客户端和服务端 修改配置 虚拟用户登录认证 生成认证数据库,每次修改v_user_list都要重新生成一遍 配置PAM认证规则,即时生效,不必重启vsftpd 参考资料:https://www.cnblogs.
阅读全文
posted @ 2019-12-13 15:11 M1927
阅读(433)
评论(0)
推荐(0)
2019年11月19日
ELK 7.4.2 单机安装配置
摘要: 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)
2019年11月12日
简单搭建DNS服务器——bind
摘要: 安装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)
2019年10月25日
关于博客皮肤
摘要: 参考: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)
2019年8月19日
一个木马
摘要: 生产环境的CPU飚高,发现可疑进程 一执行就删除了 kill -9 强杀,crond -l 检查发现异常,先清理定时任务 0 *...
阅读全文
posted @ 2019-08-19 11:45 M1927
阅读(62)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
11
下一页
公告