摘要: Apache源码安装完毕后,1.下面的脚本运行后就可以直接使用service apachexxx stop/start 来控制apache的启动与停止了!cp /usr/local/apache/bin/apachectl /etc/rc.d/init.d/apachexxx //拷贝apache启动脚本2.下面的脚本运行后是可以使用chkconfig --addapachexxx 了!vi /etc/rc.d/init.d/apachexxx // 这里是编辑apache启动脚本 在开头的#!/bin/sh 下面加上 #chkconfig: 2345 85 15 //此处必须加 否则无法使. 阅读全文
posted @ 2013-06-26 17:03 -j神----- 阅读(2167) 评论(0) 推荐(0) 编辑
摘要: Starting httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this messageapache 启动出现这种错误的解决方法:将 apache 的配置文件中 ServerName 改成可用域名或如下配置ServerName localhost:80 阅读全文
posted @ 2013-06-26 15:36 -j神----- 阅读(12848) 评论(0) 推荐(0) 编辑
摘要: 不知道为什么在安装apache2.2.22版本的时候没有任何问题,直接使用命令./configure --prefix=/home/www/www_test/software/apache-2.2.22 --enable-proxy --enable-so --enable-mods-shared=most --with-mpm=worker没有任何问题,不过在安装新版本2.4.2的时候就会报错。解决方案如下:#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error: APR not found . Plea 阅读全文
posted @ 2013-06-26 15:06 -j神----- 阅读(325) 评论(0) 推荐(0) 编辑