摘要: 场景:通过PXE批量安装操作系统时,总会遇到一个问题,就是服务器或者虚拟机本身已经有了操作系统,每次都需要通过IPMI去设置从网卡启动,非常麻烦。这个时候,我们可以通过dd命令破坏MBR,这样系统启动时因为引导破坏就会尝试通过网络启动,顺利进行PXE装机。 MBR概念:MBR(Main Boot R 阅读全文
posted @ 2019-12-26 01:18 michaelz0 阅读(748) 评论(2) 推荐(0) 编辑
摘要: - name: install zabbix agent hosts: testserver remote_user: root vars: zabbixserver: "192.168.1.199" tasks: - name: install repository of zabbix shell 阅读全文
posted @ 2019-12-17 16:01 michaelz0 阅读(199) 评论(0) 推荐(0) 编辑
摘要: #yum install maridb and php apacheyum install make httpd php mysql-devel gcc net-snmp-devel curl-devel perl-DBI php-fpm php-gd php-mysql php-bcmath ph 阅读全文
posted @ 2019-12-17 14:25 michaelz0 阅读(289) 评论(0) 推荐(0) 编辑
摘要: data=pd.read_excel(filepath, encoding='ISO-8859-1') ISO-8859-1 阅读全文
posted @ 2019-12-13 15:51 michaelz0 阅读(2192) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/wilber2013/p/4645353.html 赋值-》内存地址的引用 浅拷贝-》copy.copy() 深拷贝-》copy,deepcopy() 阅读全文
posted @ 2019-11-17 01:26 michaelz0 阅读(82) 评论(0) 推荐(0) 编辑
摘要: Python快速入门:https://segmentfault.com/a/1190000015695210 廖雪峰网站:https://www.liaoxuefeng.com/wiki/1016959663602400/1017328525009056 菜鸟教程:https://www.runoo 阅读全文
posted @ 2019-11-14 20:45 michaelz0 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 1、添加超时的参数,不使用缓存 pip install --default-timeout=1000 --no-cache-dir 2、使用国内源: 例如: pip install jupyter -i http://pypi.douban.com/simple --trusted-ho 阅读全文
posted @ 2019-10-07 17:57 michaelz0 阅读(837) 评论(0) 推荐(0) 编辑