位置: 编程技术 - 正文

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

编辑:rootadmin

推荐整理分享Freebsd7.0 Apache2.2+MySQL5+PHP5安装和配置方法,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

 一、安装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 .0.0.1 for ServerName

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

  出现上述提示

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

  修改SeverName一项即可解决(1)错误提示

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

  产生(2)的原因是:FreeBSD 系统还提供了http filter,会自动过滤掉不完整的HTTP请求。

 一、安装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 .0.0.1 for ServerName

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

  出现上述提示

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

  修改SeverName一项即可解决(1)错误提示

  产生(2)的原因是:FreeBSD 系统还提供了http filter,会自动过滤掉不完整的HTTP请求。

freebsd6.2 nginx+php+mysql+zend系统优化防止ddos攻击 一、安装软件前的准备系统的安装:插入freebsd6.2以上的光盘,最小化安装系统,同时安装好ports二、手动安装nginx+php1)进入系统后,准备cvs更新:1.cd/usr/

FreeBSD5.2.1上建立功能完整的邮件服务器(POSTFIX) 1.更新ports#cvsup-gL2-hcvsup.freebsdchina.org/usr/share/examples/cvsup/ports-supfile2.安装openssl+apache服务器#cd/usr/ports/security/openssl#makeinstall#makeclean#cd/usr/ports/www/apache2#mak

FreeBSD学习经验 1、进入单用户模式BOOT:/kernel-s就进了单用户了,然后/sbin/mount-rw/把/设置成可写然后vipw把root口令置空2、开机自动fsck硬盘fsck_y_enable=YES3、FreeBSD弹出光驱cdco

本文链接地址:https://www.jiuchutong.com/biancheng/353953.html 转载请保留说明!

上一篇:FreeBSD系统下读写 NTFS分区(freebsd安装教程)

下一篇:freebsd6.2 nginx+php+mysql+zend系统优化防止ddos攻击

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络