:apache的静态编译与动态编译详解 静态: 在使用./configure 编译的时候,如果不指定某个模块为动态,即没有使用:enable-mods-shared=module或者enable-module=shared 这个2个中的一个,那么所有的默认模块为静态。 那么何谓静态? 其实就是编译的时候所有的模块自己编译进 httpd 这个文件中(我们启动可以使用这个执行文件,如: ./httpd & ) ,启动的时候这些模块就已经加载进来了,也就是可以使用了, 通常为: 来配置。所...
by r.g.y - Linux文档专区 - 2009-12-16 21:49:54 阅读(733) 回复(0)
配置文件:/etc/httpd/conf/httpd.conf 若在莫用户名下建立网页步骤: 1. Userdir 默认情况下是不允许非root用户建立网页的,如有需要,把disable这一行用#注释掉。 2.在/home/用户名/下面建立文件夹public_html 3.更改/home/用户名 的权限(以airway用户名为例) [root@localhost conf]# ls -dl /home/airway drwx------ 17 airway airway 4096 Jul 9 18:42 /home/airway 是other用户能够访问airway文件夹 [root@localh...
安装apache $ locate apache /usr/local/ports/www/apache $ cd /usr/local/ports/www/apache $ make $ make install 首次启动 apache, 只需执行: $ /usr/local/sbin/apachectl start //(start|restart|stop|graceful) 要在重启 apache 服务器时不中断当前的连接, 则应运行: $ /usr/local/sbin/apachectl graceful 要在系统启动时启动 apache, 则应在 /etc/rc.conf 中加入: apache_enable="YES" 本文来自ChinaUnix博客...
[xiaoye@route apache_1.3.33]$ make ===> src make[1]: Entering directory `/home/xiaoye/apache_1.3.33' make[2]: Entering directory `/home/xiaoye/apache_1.3.33/src' ===> src/regex /bin/sh: line 1: cd: regex: 没有那个文件或目录 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/home/xiaoye/apache_1.3.33/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/home/xiaoye/apache_1.3....
[xiaoye@route apache_1.3.33]$ make ===> src make[1]: Entering directory `/home/xiaoye/apache_1.3.33' make[2]: Entering directory `/home/xiaoye/apache_1.3.33/src' ===> src/regex /bin/sh: line 1: cd: regex: 没有那个文件或目录 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/home/xiaoye/apache_1.3.33/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/home/xiaoye/apache_1.3....
./configure make make install /usr/local/bin/apache2/apachectl start 通过客户机访问。成功。cp一个简单的页面到文档目录下,访问,好了 apache安装成功了。 关于configure的参数太多了,我现在安装的是一个最简单的apache服务器。等我需要加其他的东西的时候我会在从新编译并安装的。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/19957/showart_120249.html
请教各位大虾: 安装软件: httpd.2.2 系统环境:Ras3.0 编译参数如下: [code]./configure --prefix=/home/apache2 --enable-module=so --enable-shared=max --enable-ssl=static --with-ssl=/usr/local/openssl --enable-mods-shared=all[/code] 请教各位,这些编译需要系统提供一个什么样的环境? 安装总是出现错误,不得其解,特此请教
请教各位大虾: 安装软件: httpd.2.2 系统环境:Ras3.0 编译参数如下: [code]./configure --prefix=/home/apache2 --enable-module=so --enable-shared=max --enable-ssl=static --with-ssl=/usr/local/openssl --enable-mods-shared=all[/code] 请教各位,这些编译需要系统提供一个什么样的环境? 安装总是出现错误,不得其解,特此请教
看了豆腐高人的文章,ModSecurity for apache 1.8.7 用户手册。 但安装老是提示出错,请大家帮忙看看... 系统:centos4.4,apache/2.2.4 (Unix) PHP/5.2.0 一开始下载modsecurity-apache_2.1.0.tar.gz, 解tar包,进apache2/目录 修改Makefile 文件,top_dir = /usr/local/apache2 make以后出现以下提示: make /usr/local/apache2/build/libtool --silent --mode=compile gcc -g -O2 -pthread -O2 -g -Wuninitialized -Wal...
Ubuntu下安装apache2.0.50 配置时出现以下错误,如何解决? checking for chosen layout .....apr checking for gcc ..... no checking for cc ... no checking for cc .... no checking for cl ... no configure: error: no acceptable C complier found in $PATH See 'config.log' for more details, ,,, 应该如何处理啊? 谢谢...