摘要: 1.keepalived的启动过程: 启动健康检查子进程和vrrp子进程。其中_WITH_LVS_,_WITH_VRRP_在configure和configure.in文件中定义。源码如下:/* Daemon init sequence */static voidstart_keepalived(void){#ifdef _WITH_LVS_ /* start healthchecker child */ if (daemon_mode & 2 || !daemon_mode) start_check_child();#endif#ifdef _WITH_VRRP_... 阅读全文
posted @ 2014-02-10 16:09 一天不进步,就是退步 阅读(16754) 评论(0) 推荐(0) 编辑
摘要: http://www.yesky.com/120/1865620.shtml作为Linux下的程序开发人员,大家一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么容易了。 在本文中,将给大家介绍如何使用autoconf和automake两个工具来帮助我们自动地生成符合自由软件惯例的Makefile,这样就可以象常见的GNU程序一样,只要使用“./configure”,“make”,“make instal”就可以把程序安装到Linux系统中去了。这将特别适合. 阅读全文
posted @ 2014-02-10 15:18 一天不进步,就是退步 阅读(279) 评论(0) 推荐(0) 编辑
摘要: http://java.dzone.com/articles/how-configure-tomcatjboss-andIn this post we will see how to setup a load balanced JBoss or Tomcat environment with the fail-over capability.This post assumes that both Jboss/Tomcat and Apache httpd are setup and running properly.Configure Apache HttpdStep 1: Configure 阅读全文
posted @ 2014-02-10 09:39 一天不进步,就是退步 阅读(383) 评论(0) 推荐(0) 编辑
摘要: http://www.coolcoder.in/2014/02/find-command-usage-in-linux-with.htmlfind searchesthe directory tree rooted at each given file name by evaluating thegiven expression from left to right, according to the rules of precedence, until the outcome is known (the lefthand side is false forandoperations, tru 阅读全文
posted @ 2014-02-10 09:31 一天不进步,就是退步 阅读(805) 评论(0) 推荐(0) 编辑