首页
留言本
批量创建100用户并设置密码脚本
#!/bin/bash HOST_INFO=host.info for IP in $(awk '/^[^#]/{print $1}' $HOST_INFO); do U...
admin
2020-04-15
941
查看网卡实时流量脚本
#!/bin/bash NIC=$1 echo -e " In ------ Out" while true; do OLD_IN=$(awk '$0~&q...
admin
2020-04-15
944
nginx访问日志分析脚本sh
#!/bin/bash # 日志格式: $remote_addr - $remote_user [$time_local] "$request" $status $body_by...
admin
2020-04-15
896
nginx 访问访问日志按天切割
#!/bin/bash LOG_DIR=/usr/local/nginx/logs YESTERDAY_TIME=$(date -d "yesterday" +%F) LOG...
admin
2020-04-15
884
MySQL数据库备份多循环sh
#!/bin/bash DATE=$(date +%F_%H-%M-%S) HOST=localhost USER=backup PASS=123.com BACKUP_DIR=/data/...
admin
2020-04-15
866
Dos攻击防范(自动屏蔽攻击IPsh)脚本
#!/bin/bash DATE=$(date +%d/%b/%Y:%H:%M) LOG_FILE=/usr/local/nginx/logs/demo2.access.log ABNORMAL...
admin
2020-04-15
917
Kali2019.1a可用镜像源
vim /etc/apt/sources.list 写入以下内容 deb https://mirrors.aliyun.com/kali kali-rolling main non-fre...
admin
2020-04-13
934
树莓派4B在centos7.7下安装softether vpn实现远程访问家里的设备
简单介绍: SoftEther VPN概述: SoftEther VPN是日本筑波大学的一个研究项目,是一个开放源代码的跨平台多协议VPN程序,它包括服务器端、客户端、服务器端管理工具等数个软件...
admin
2020-03-29
1286
树莓派4B安装centos7.7
树莓派4B安装centos7.7华为镜像站:https://mirrors.huaweicloud.com/centos-altarch/7.7.1908/isos/armhfp/图中的就是树莓派4B...
admin
2020-03-28
1674
批量检测网站是否异常脚本sh
#!/bin/bash URL_LIST="www.baidu.com www.ctnrs.com"for URL in $URL_LIST; do FAIL_COUNT=...
admin
2020-03-11
997
批量主机远程执行命令脚本
#!/bin/bash COMMAND=$* HOST_INFO=host.info for IP in $(awk '/^[^#]/{print $1}' $HOST_INFO...
admin
2020-03-10
941
监控100台服务器磁盘利用率脚本
#!/bin/bash HOST_INFO=host.info for IP in $(awk '/^[^#]/{print $1}' $HOST_INFO); do U...
admin
2020-03-01
993
zabbix自定义监控项
自定义监控项 一,比如我想监控sda的TPS值,首先利用awk把相关的取出来.利用shell 如果i...
admin
2020-02-29
1243
自动发布Java项目(Tomcatsh
DATE=$(date +%F_%T) TOMCAT_NAME=$1 TOMCAT_DIR=/usr/local/$TOMCAT_NAME ROOT=$TOMCAT_DIR/webapps/...
admin
2020-01-05
946
centos7.6下搭建LNMP并搭建wordpress
视频地址: https://www.bilibili.com/video/av80788682 本次安装的环境是Centos7 Ninx...
admin
2019-12-25
3050
‹‹
‹
5
6
7
8
9
10
11
12
13
14
›
››
Powered By
Z-BlogPHP 1.7.3
Theme By
优美模版
本博客为开源博客,本博客联系QQ:372097243