12 2016 档案

python2.7安装PIL.Image模块
摘要:这是大家常用的两种安装方法 sudo pip install PIL pip install PIL --allow-external PIL --allow-unverified PIL 如果安装成功皆大欢喜啊,我的却出现了问题 这个是说明PIL已经找不到,其实现在已经用Pillow代替了PIL, 阅读全文

posted @ 2016-12-30 16:16 Hugh_txp 阅读(8803) 评论(0) 推荐(0)

ansible 简单使用
摘要:前面讲完安装,现在说说怎么用 1、创建目录 mkdir -p /etc/ansible 2、 编辑(或创建)/etc/ansible/hosts 并在其中加入一个或多个远程系统:echo '192.168.10.230' > /etc/ansible/hosts 3、执行ping : ansible 阅读全文

posted @ 2016-12-21 17:17 Hugh_txp 阅读(315) 评论(0) 推荐(0)

ansible 安装
摘要:1、简介 ansible是新出现的自动化运维工具,基于Python开发,集合了众多运维工具(puppet、cfengine、chef、func、fabric)的优点,实现了批量系统配置、批量程序部署、批量运行命令等功能。ansible是基于模块工作的,本身没有批量部署的能力。真正具有批量部署的是an 阅读全文

posted @ 2016-12-21 16:42 Hugh_txp 阅读(116) 评论(0) 推荐(0)