国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統(tǒng) > FreeBSD > 正文

Freebsd7.0 Apache2.2+MySQL5+PHP5安裝和配置方法

2020-10-23 22:26:44
字體:
供稿:網(wǎng)友

 一、安裝apache2.2.8

  首先去http://www.apache.org網(wǎng)站上下載apache2.2.8源碼包

  解壓縮

  #tar zxvf httpd-2.2.8.tar.gz

  得到 httpd-2.2.8文件夾

  #cd httpd-2.2.8

  配置

  #./configure --prefix=/usr/local/apache --enable-so --enable-module=rewrite

  編譯

  #make

  安裝

  #make install

  安裝完成

  測試一下安裝效果

  #cd /usr/local/apache

  #cd bin

  # ./apachectl start

  httpd: apr_sockaddr_info_get() failed for

  httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

  [Thu Apr 03 09:37:41 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter

  出現(xiàn)上述提示

  #vi /usr/local/apache/conf/httpd.conf

  修改SeverName一項(xiàng)即可解決(1)錯誤提示

  產(chǎn)生(2)的原因是:FreeBSD 系統(tǒng)還提供了http filter,會自動過濾掉不完整的HTTP請求。

 一、安裝apache2.2.8

  首先去http://www.apache.org網(wǎng)站上下載apache2.2.8源碼包

  解壓縮

  #tar zxvf httpd-2.2.8.tar.gz

  得到 httpd-2.2.8文件夾

  #cd httpd-2.2.8

  配置

  #./configure --prefix=/usr/local/apache --enable-so --enable-module=rewrite

  編譯

  #make

  安裝

  #make install

  安裝完成

  測試一下安裝效果

  #cd /usr/local/apache

  #cd bin

  # ./apachectl start

  httpd: apr_sockaddr_info_get() failed for

  httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

  [Thu Apr 03 09:37:41 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter

  出現(xiàn)上述提示

  #vi /usr/local/apache/conf/httpd.conf

  修改SeverName一項(xiàng)即可解決(1)錯誤提示

  產(chǎn)生(2)的原因是:FreeBSD 系統(tǒng)還提供了http filter,會自動過濾掉不完整的HTTP請求。

發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 柳州市| 怀宁县| 巴南区| 育儿| 合川市| 郯城县| 漯河市| 健康| 登封市| 阜宁县| 澄迈县| 囊谦县| 新和县| 上思县| 平顶山市| 常熟市| 红河县| 侯马市| 阿克苏市| 大石桥市| 安陆市| 桃园市| 开鲁县| 尼木县| 敦化市| 沙雅县| 上犹县| 栾城县| 喀什市| 南投县| 屏东市| 寻甸| 米林县| 连山| 大足县| 深水埗区| 美姑县| 革吉县| 凉山| 石林| 宁化县|