自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Man_In_The_Night的博客

记录学习中的各种问题以及自己的理解,供以后温故以及分享一下,错误之处,希望批评指正,以免误导更多人。如有侵权,请联系删除。谢谢!

  • 博客(4)
  • 资源 (1)
  • 收藏
  • 关注

原创 docker 部署 nexus 配置 docker registry

环境:两台 centos7 vm,docker 17.03,nexus vm ip 192.168.1.91、docker 部署 nexus3运行 docker 时需要额外开放一个端口, 9091 为 nexus 访问端口,9092 为 docker 代理仓库端口chmod 777 /nexus-datadocker run -id --name=nexus3 -v /nexus-data:/nexus-data --restart=always -p 9091:8081 -p 9092:9092

2020-05-22 11:48:43 1178

原创 python 自动检测 ilo 健康信息,并发送邮件

实验环境:python2.7方案描述:利用 hpilo 进行健康检测,将有问题的服务器信息通过邮件发送到给管理员,email 利用 jinja2 动态生成模块。1、 利用 jinja2 自动生成模板模板 templates/email_template.html[root@ansible002 pyscripts]# cat templates/email_template.html<meta http-equiv="Content-Type"content="text/html;

2020-05-18 11:27:20 1374

原创 python 发送邮件

实验环境: python2.71、发送文本 email#!/usr/bin/python#-*- coding:utf8 -*-# 文件不能命名为 email.py, 否则会与 from email.mime.text import MIMEText 冲突,报错import smtplibfrom email.mime.text import MIMETextfrom email.header import Headerdef mail_send(mail_body): sender

2020-05-18 10:31:41 245

原创 python hpilo 监控 hp ilo 服务器健康信息

环境: python 2.7,hp ilo4 DL380 Gen91、使用 python hpilo 模块的 get_embedded_health() 方法获取健康信息import hpiloilo = hpilo.Ilo(“10.2.3.3”,“admin”,“admin”) # login ilohealth_summary = ilo.get_embedded_health()['health_at_a_glance'] print health_summary2、python 批

2020-05-16 10:15:45 1189

chromedriver

What this is really doing is just grabbing a particular "blessed" (by this module) version of ChromeDriver. As new versions are released and vetted, this module will be updated accordingly. The package has been set up to fetch and run ChromeDriver for MacOS (darwin), Linux based platforms (as identified by nodejs), and Windows. If you spot any platform weirdnesses, let us know or send a patch.

2017-09-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除