Centos7 配置域名解析服务 Bind的配置 配置网卡IP 为 192.168.101.1 vi /etc/sysconfig/network-scripts/ifcfg-eno16777736 重启网卡 IP已经应用上去了 [root@localhost ~]# systemctl resta…
一、Win10基本概况 1.1 了解Win10 2020年1月14日消息,微软给出的公告称,从2020年1月14日开始停止支持Windows 7操作系统,这意味着该公司不会再向数百万台电脑发布任何软件更新,包括可以防止网络攻击的软件补丁。虽然微软不在更新win7,但是win7系统还是可以继续使用的。…
df -Th查看大小 fdisk分区 把刚刚扩容得分区添加到sda3去 重启之后磁盘的分区才会显示出来 大的vg卷叫做 centos
[TOC] 主程序 Node_exporter 单独下载连接 国内前置代理下载且安装一键代码(国内加速,安装路径/usr/local/node_exporter) yum -y install wget && wget http://hk.2331314.xyz:5550/https…
blkid ls -l /dev/disk/by-uuid lsblk -f vol_id /dev/sda
官方的代码 $urls = array( 'http://www.example.com/1.html', 'http://www.example.com/2.html', ); $api = 'http://data.zz.baidu.com/ur…
[TOC] 官方网站 https://prometheus.io/download/ 主程序 Prometheus v2.34.0 单独下载连接 国内前置代理下载且安装一键代码(国内加速,安装路径/usr/local/prometheus) yum -y install wget &&…
Webhook 首先申请企业微信,在群组中申请webhook api 创建脚本-任选一种 1.在/etc/ssh/下创建sshrc文件 vi /etc/ssh/sshrc 2.在/etc/profile.d/创建[name].sh vi /etc/profile.d/login.sh 主程序 #!/…
创建目录 演示路径 /root/shell mkdir -p /root/shell touch /root/shell/ipblack.txt #!/bin/bash cat /var/log/secure|awk '/Failed/{print $(NF-3)}'|sort|…
安装 yum -y update yum -y install epel-release elrepo-release yum -y install yum-plugin-elrepo yum -y install kmod-wireguard wireguard-tools reboot 由于 W…