摘要:
环境:vim /etc/hosts192.168.199.61 Ansible192.168.199.60 Nginx1192.168.199.62 Nginx2192.168.199.63 Haproxy在Ansible服务器上安装Ansible先解决依赖关系:# yum -y install p... 阅读全文
posted @ 2015-05-04 17:43
艾阳君
阅读(315)
评论(0)
推荐(0)
摘要:
转自http://www.turen.me/archives/509Sublime Text 2 是现在很受大家欢迎的编辑器了,不仅是在web前端,在书定简单的php、Js等代码时,也是相当的好用,再配合多种的插件和新颖的界面,更是让人欲罢不能。在使用时,我们通过喜欢打开一个文件的时候,右击再选择打... 阅读全文
posted @ 2015-05-04 12:07
艾阳君
阅读(215)
评论(0)
推荐(0)
摘要:
#!/bin/bash#修改IP及HOSTNAME ETHCONF=/etc/sysconfig/network-scripts/ifcfg-eth0 HOSTS=/etc/hosts NETWORK=/etc/sysconfig/network DIR=/root/backup/`date +%Y... 阅读全文
posted @ 2015-05-04 10:23
艾阳君
阅读(362)
评论(0)
推荐(0)
摘要:
转自http://blog.chinaunix.net/uid-21961753-id-1810588.html格式: test conditionstest -n string : string 不为空test -z string : string 为空test int1 -eq int2 : i... 阅读全文
posted @ 2015-05-04 10:21
艾阳君
阅读(290)
评论(0)
推荐(0)

浙公网安备 33010602011771号