摘要: apache默认是用自带的mod_php模块运行php,现在我们介绍使用fastcgi来执行php脚本。先说下fastcgi的优点:Fastcgi的优点:从稳定性上看, fastcgi是以独立的进程池运行来cgi,单独一个进程死掉,系统可以很轻易的丢弃,然后重新分 配新的进程来运行逻辑. · ... 阅读全文
posted @ 2014-05-14 16:05 huidaoli 阅读(7934) 评论(0) 推荐(0) 编辑
摘要: Redhat 上 FastCGI 安装与配置软件包相关软件包:httpd 2.2.14 //注意版本 这个版本不会出问题 注:apache httpd安装fcgi-2.4.0.tar.gzmod_fastcgi-2.4.6.tar.gz 请仔细阅读其中的README配置httpd.conf 尾部添加... 阅读全文
posted @ 2014-05-14 15:53 huidaoli 阅读(600) 评论(0) 推荐(0) 编辑
摘要: 1. SUSE Linux配置命令如下:'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql'2. 接下来 make 然后 make install 就好了。3. 记得安装之前要停止 Apache服务。/path... 阅读全文
posted @ 2014-05-14 15:47 huidaoli 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 启动tomcat在终端下输入 /usr/tomcat/bin/startup.sh命令形式直接启动mysql服务,命令 方式一:#service [serviceName] [option]service 可以是apache2,mysql; optition 可以是 start,restart, s... 阅读全文
posted @ 2014-05-14 12:28 huidaoli 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 主站下载源码tar zxvf httpd-2.2.4.tar.bz2cd httpd-2.2.4./configure --prefix=/usr/local/apache --sysconfdir=/etc/httpd --enable-so --enable-ssl --enable-track... 阅读全文
posted @ 2014-05-14 10:15 huidaoli 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 本文章来给各位同学介绍一篇关于linux 编译安装nginx,配置自启动脚本教程,希望有需要了解的朋友可一起来学习学习哦。在公司的suse服务器装nginx,记录下安装过程:参照这篇文章:Linux 从源码编译安装 Nginx:1.1、准备 pcre 库pere 是为了让 nginx 支持正则表达式... 阅读全文
posted @ 2014-05-14 09:57 huidaoli 阅读(1077) 评论(0) 推荐(0) 编辑
摘要: 1. 下载源代码http://nginx.org/en/download.html2. DAV模块缺省没有编译,要加入编译选项# ./configure --with-http_dav_module# make install# cd/usr/local/nginx/sbin# ./nginx# p... 阅读全文
posted @ 2014-05-14 09:54 huidaoli 阅读(833) 评论(0) 推荐(0) 编辑