摘要: 系统环境:ubuntu20.04 下载ubuntu-20.04.2-live-server-amd64.iso wget https://releases.ubuntu.com/20.04/ubuntu-20.04.2-live-server-amd64.iso 挂载系统到/mnt下 sudo mo 阅读全文
posted @ 2021-06-29 23:18 炒鸡蛋 阅读(6650) 评论(7) 推荐(1) 编辑
摘要: 邮件发送脚本 cat > sendMail.py << EOF #!/usr/bin/python #python2 #-*- coding: UTF-8 -*- import smtplib import sys from email.mime.text import MIMEText from 阅读全文
posted @ 2021-06-29 23:16 炒鸡蛋 阅读(462) 评论(0) 推荐(0) 编辑
摘要: Zabbix主机自动注册发现 #!/bin/bash #root权限运行 path="/opt/zabbix/" #zabbix主机IP serverIp="192.168.0.88" #本机ip部分特征 hostIp=10.0 #用户名 user="www" install(){ wget -V 阅读全文
posted @ 2021-06-29 23:15 炒鸡蛋 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 安装 https://developer.vmware.com/powercli powershell Install-Module -Name VMware.PowerCLI 连接vcenter Connect-VIServer -Server <vcenterIp> -Protocol http 阅读全文
posted @ 2021-06-29 23:12 炒鸡蛋 阅读(215) 评论(0) 推荐(0) 编辑