acl 工程从发布至今已经有近10年历史,已经被一些大公司的重要项目所使用,该工程提供了跨平台(LINUX, FreeBSD, WIN32, Solaris, MacOS)的网络通信库,其中包含了阻塞非阻塞两种通信方式,内部事件引擎支持 select/poll/epoll(linux)/kqueue(BSD)/devpool(solaris)/iocp(win32)/窗口消息(win32);另外,acl 库中的网络服务器框架是 acl 中最为重要的模块(其来源于著名的Postfix,由其中的 master ...
分类:
其他好文 时间:
2014-08-19 11:02:24
阅读次数:
310
DNSHTTPDPHPNFS----综合应用工作模型简述:利用DNS服务器的域名解析实现简单的轮询,利用两台httpd服务器实现简单的负载均衡。NFS作为网站资源的根目录。两个httpd共享一个mysql服务存储实验拓扑图:编译安装bind9
软件包为bind-9.9.6b1.tar.gz
解压:..
分类:
Web程序 时间:
2014-08-19 02:11:03
阅读次数:
406
protected void Button1_Click(object sender, EventArgs e) { // string postfix = string.Empty; // string fileType = string.Empty; // postfix = ef[4, 1];...
分类:
其他好文 时间:
2014-08-18 12:18:54
阅读次数:
152
从 php 5.3.3 起,就可直接使用 PHP-FPM ,不再需要打补丁了。此前已写过《Linux 从源码编译安装 PHP 5》 见 http://www.linuxidc.com/Linux/2011-10/45743.htm,但是以 mod_php 模块方式,而非 FastCGI 模式运行 p...
分类:
Web程序 时间:
2014-08-18 10:41:13
阅读次数:
362
一、编译安装httpd2.4版本1、httpd程序依赖于apr和arp-util注:arp是apache的可移植运行环境(相当于是http的虚拟机,在Linux和windows都可用)在编译安装前我们需要安装一下开发包组yum-ygroupinstall“DevelopmentTools”
yum-ygroupinstall"ServerPlatformDevelopment"HTTP2..
分类:
系统相关 时间:
2014-08-18 09:21:54
阅读次数:
464
看了几天的Windows Internals, 觉得挺烦的,看不进去。作者讲Windows的各种机制讲得有些枯燥,毕竟Windows不是开源的,很多内部的实现都只能用概念来讲解,有些抽象。
转到了Linux阵营,经典的LDD(Linux Driver Develop)读起来顺畅无比,相见恨晚。
驱动的Hello World,也是好几天,今天才弄好。其间编译安装自己的内核差点把整个系统搞挂,格式...
分类:
系统相关 时间:
2014-08-18 02:49:33
阅读次数:
279
httpd编译安装1.编译安装aprhttpd-2.4.9需要较新版本的apr和apr-util,所以,要先安装这两个包,在检查环境,要确定DevelopmentTools、ServerPlatformDevelopment、DesktopPlatformDevelopment这三个开发包组是否安装,然后开始编译安装#tarxfapr-1.5.0.tar.bz2
#cdapr-1.5.0
#...
分类:
其他好文 时间:
2014-08-18 01:38:53
阅读次数:
252
xdebug.profiler_enable=on
xdebug.trace_output_dir="/opt/phpxdebug"
xdebug.profiler_output_dir="/opt/phpxdebug"
xdebug.show_exception_trace=On
xdeb...
分类:
系统相关 时间:
2014-08-17 18:26:12
阅读次数:
261
今天发邮件, 发送失败,然后到服务器上看日志, 发现硬盘被垃圾邮件的缓存队列和日志塞满了, tail -f /var/log/maillog 发现疯狂刷屏,部分日志如下 :Aug 17 09:39:01 www postfix/error[1173]: 455F050663: to=, relay=none, delay=28778, delays=28631/146/0/0.51...
分类:
其他好文 时间:
2014-08-17 15:40:22
阅读次数:
290
1、安装准备: 1)httpd-2.0.52.tar.gz 2)mysql-4.1.12.tar.gz 3)libxml2-2.6.27.tar 4)freetype-2.1.10.tar 5)gd-2.0.33.tar 6)jpegsrc.v6b.tar 7)libpng-1.2.16.tar 8...
分类:
系统相关 时间:
2014-08-17 10:19:32
阅读次数:
302