安装: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
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
1.安装node.js,官网下载以后安装,将node.js的bin目录添加到PATH中,方便使用npm来安装grunt所需要的资源。2.在安装grunt之前,执行:npmuninstall-ggrunt卸载掉之前安装的grunt3.安装全局grunt:npminstall-ggrunt-cli(包括grunt,grunt-cli,grunt-init,具体百度,google)4..
分类:
其他好文 时间:
2014-10-24 16:48:01
阅读次数:
234
TCP/IP网络配置文件
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network
/etc/host.conf
/etc/hosts
/etc/resolv.conf
/etc/services...
分类:
系统相关 时间:
2014-10-23 22:47:20
阅读次数:
285
Ansible是一款开源的自动化运维工具,它既不需要数据库,也不需要运行后台程序(daemons)容易上手,相对其他同类工具(puppet等)比较简单一.控制机要求:Ansible控制机要求极其简单,需要安装python2.6以上的版本就可以了(windows除外),可以是RedHat,Debian,CentOS,OSX,..
分类:
其他好文 时间:
2014-10-21 02:28:03
阅读次数:
227
参考资料:整合ueditor多图?http://blog.csdn.net/shunlongjin/article/details/24266665 自定义插件:http://www.cnblogs.com/lts8989/archive/2011/08/04/2127326.html 基础配置:http://blog.csdn.net/itmyho...
分类:
Web程序 时间:
2014-10-20 17:37:16
阅读次数:
431
监控端工具ansible计划任务*/10****/dev/shm/history_log.sh构建脚本vim/dev/shm/history_log.sh#!/bin/bashfunctionhistory_log(){ localtime time=`date-d"-10min""+%F%H:%M"` tim=${time%[0-9]} remote_ab-htest-c"tail-300/tmp/all_history"|grep"$tim">>/tmp/All_hi..
分类:
系统相关 时间:
2014-10-20 02:18:43
阅读次数:
238
最近在学习使用ansible,为了未来的大规模部署应用做准备,这东西比我之前用过的puppet,saltstack都简便一点,没有client端,也不需要额外配置,基本上手技能用,据说在国外的热门程度目前也超过saltstack了。下面就开始零星的记录吧。确保服务在running状态tasks:
-name:make..
分类:
其他好文 时间:
2014-10-17 19:06:34
阅读次数:
226
ASA防火墙配置实验实验拓扑图:基础配置命令:ASAconfthostnameASAinte0/0nameifinsidesecurity-level100ipadd192.168.1.5255.255.255.0noshinte0/1nameifdmzsecurity-level50ipadd192.168.2.5255.255.255.0noshinte0/2nameifoutsidesecurity-level0ipadd200.0.0.5255.255.255...
分类:
其他好文 时间:
2014-10-17 19:00:22
阅读次数:
276
DataGuard为企业数据的高可用性,数据安全以及灾难恢复提供支持,一般由一个primary db与几个物理或逻辑standby db组成一个DataGuard配置。系统环境操作系统为windows server 2003 r2 enterprise x64 edition service pac...
分类:
数据库 时间:
2014-10-17 18:31:41
阅读次数:
299