码迷,mamicode.com
首页 >  
搜索关键字:ansible 模块学习    ( 2765个结果
Android FM模块学习之一 FM启动流程
最近在学习FM模块,FM是一个值得学习的模块,可以从上层看到底层。上层就是FM的按扭操作和界面显示,从而调用到FM底层驱动来实现广播收听的功能。    看看Fm启动流程:如下图: 先进入FMRadio.java类,onCreate初始化一些数据,画出FM界面,启动fm在onStart()方法里启动FMRadioService.java (调用bindToService(this, ...
分类:移动开发   时间:2014-11-19 20:37:25    阅读次数:222
ansible+heartbeatV2构建高可用群集
主机的ip地址分配hostnameIPaddressrolemaster192.168.1.250/24ansiblenode2.mictiger.com192.168.1.120/24heartbeat,httpdnode3.mictiger.com192.168.1.130/24heartbeat,httpd1)修改hostname在node2和node3的/etc/hosts加入如下信息192.168.1.120 node2.mictiger.com node2 1..
分类:其他好文   时间:2014-11-19 02:05:09    阅读次数:306
集群工具ansible使用方法
ansible简介ansible是与puppet、saltstack类似的集群管理工具,其优点是仅需要ssh和Python即可使用,而不像puppet、saltstack那样都需要客户端。与puppet类似,ansible也支持丰富的功能:批量执行支持模块化,支持playbook(相比puppet还...
分类:其他好文   时间:2014-11-17 00:18:59    阅读次数:307
试用ansible
# 环境 - Windows8 - Virtual box - vagrant # 试用 ansible ## 安装虚拟机 - `vagrant box add chef/centos-6.5` - `vagrant init chef/centos-6.5` ### 修改Vagrantfile > config.vm.define :node1 do |node| >...
分类:其他好文   时间:2014-11-13 13:09:13    阅读次数:207
Python SciPy Sparse模块学习笔记
1.sparse模块的官方document地址:http://docs.scipy.org/doc/scipy/reference/sparse.html2.sparse matrix的存储形式有很多种,见此帖子http://blog.csdn.net/anshan1984/article/deta...
分类:编程语言   时间:2014-11-13 12:25:23    阅读次数:413
python string用法学习ing
#!/usr/bin/envpython #-*-coding:UTF-8-*- ##################################################### #Author:sunfxxingrhce@163.com #Lastmodified:2014/11/11 #Filename:string.py #QQ群:236147801 ##################################################### importre importst..
分类:编程语言   时间:2014-11-12 10:38:07    阅读次数:234
ansible初步使用及YAML语法介绍
一、简介1、ansible简介ansible官方的title是“AnsibleisSimpleITAutomation”——简单的自动化IT工具。这个工具的目标有这么几项:自动化部署APP;自动化管理配置项;自动化的持续交付;自动化的(AWS)云服务管理。所有的这几个目标本质上来说都是在一个台或者几台服务器上,..
分类:其他好文   时间:2014-11-07 15:09:11    阅读次数:14059
Ansible
安装:yum-yinstallansiblerpm-qlansible安装完Ansible之后,这个文件指我们可以对那些主机实行操作。/etc/ansible/hostsAnsible配置文件详解:egrep-v"^#|^$"ansible.cfg-n10:[defaults]14:hostfile=/etc/ansible/hosts#默认的资源文件15:library=/usr/share/ansible#默认库文..
分类:其他好文   时间:2014-10-30 19:26:40    阅读次数:321
python wmi模块学习
#-*-coding:cp936-*-importwmic=wmi.WMI()forsysinc.Win32_OperatingSystem():print"Version:%s"%sys.Caption.encode("UTF8"),"Vernum:%s"%sys.BuildNumberprint...
分类:编程语言   时间:2014-10-29 01:39:31    阅读次数:447
ansible安装报错整理
1.安装完成之后调用ansible命令出错SuccessfullyinstalledansibleCleaningup...[root@redhat6python_src]#ansible--versionTraceback(mostrecentcalllast):File"/usr/bin/ansible",line25,in<module>fromansible.runnerimportRunnerFile"/usr/lib/python2.6/site-package..
分类:其他好文   时间:2014-10-28 18:08:55    阅读次数:633
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!