发布时间:2013-04-09 16:07:10
#git 和puppet 可以见其他文档#cd /etc/puppet/#git init #初始化git#git add *  .........【阅读全文】
发布时间:2013-03-07 14:00:18
pid file =/etc/rsync/rsyncd.pidport = 873uid = rootgid = rootuse chroot = yesread only = no[phpcms]path =/var/www/phpcmslist = yesignore errorauth users = wwwsecrets file =/etc/rsync/rsyncd.secrets[video]path=/var/www/apis/data/videoslist=yesignore errorauth u.........【阅读全文】
发布时间:2013-01-31 12:16:30
以本地为目的的包数据包 ----> mangle prerouting -------> nat prerouting -------> mangle input -------> filter input以本地为源的包数据包 -------> mangle output -------> nat output -------> filter output -------> mangle postrouting -------> nat postrouting 经过本地转.........【阅读全文】
发布时间:2013-01-14 11:49:24
director机器上cat ipv-director.sh#!/bin/bash#set -xvip=192.168.222.250rip1=192.168.222.129rip2=192.168.222.130port=80/sbin/ifconfig | grep eth0:1 > /dev/nullif [ $? -eq 0 ] then /sbin/route del $vip/sbin/ifconfig eth0:1 downfistart() {/sbin/ifconfig eth0:1 $v......【阅读全文】