11 2011 档案

 
CentOS 服务器之间 rsync 增量备份
摘要:参考文件http://linux.chinaunix.net/techdoc/net/2008/01/21/977133.shtmlhttp://www.2cto.com/os/201108/101075.html源服务器 10.101.01.1 上进行配置工作[root@localhost e]#vim /etc/rsyncd.conf port=873 uid = nobody gid = nobody use chroot = no max connections =0 pid file = /usr/rsync/rsyncd.pid lock file = /usr/rsync/rs. 阅读全文
posted @ 2011-11-26 14:05 站在高处眺望 阅读(448) 评论(0) 推荐(0)
linux 防火墙增加gmail 465 端口规则
摘要:启动防火墙后,发现gmail邮件发不出去了 ,找到465端口没有进入防火墙规则,改一下就可以了~在文件下方增加即可vim /etc/sysconfig/iptables-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 465 -j ACCEPT之后service iptables restart 阅读全文
posted @ 2011-11-24 16:06 站在高处眺望 阅读(748) 评论(0) 推荐(0)
apache+jk+tomcat集群+session同步
摘要:可参考http://liuyu.blog.51cto.com/183345/113544http://code.google.com/p/memcached-session-manager/wiki/SetupAndConfigurationhttp://hi.baidu.com/luodaijun/blog/item/5bbe4cfb5ffef864034f56a1.html 阅读全文
posted @ 2011-11-09 15:21 站在高处眺望 阅读(327) 评论(0) 推荐(0)
nginx负载均衡 tomcat集群 memcache共享session
摘要:要集群tomcat主要是解决SESSION共享的问题,因此我利用memcached来保存session,多台TOMCAT服务器即可共享SESSION了。你可以自己写tomcat的扩展来保存SESSION到memcached。这里推荐使用memcached-session-manager这个开源项目[url]http://code.google.com/p/memcached-session-manager/ [/url],下面简称msm。如何安装nginx、memcached、tomcat这些就不多说了。先说明一下测试环境:tomcat1、nginx、memcached安装在192.168.1 阅读全文
posted @ 2011-11-09 14:30 站在高处眺望 阅读(7465) 评论(0) 推荐(0)
centos里启用snmp的监控
摘要:yum install net-snmp net-snmp-devel -y /etc/init.d/snmpd stop net-snmp-config –create-snmpv3-user -ro -A 密码 -a MD5 用户名 /etc/init.d/snmpd start 密码要超过8位[root@zhudoubaby ~]# net-snmp-config --create-snmpv3-user -roEnter a SNMPv3 user name to create: testEnter authentication pass-phrase: net-snmp-confi. 阅读全文
posted @ 2011-11-02 12:47 站在高处眺望 阅读(1366) 评论(0) 推荐(0)