Linux环境的AMP安装 APACHE安装
2、APACHE的安装
1)当然还是下载源码包,如:httpd-2.0.55.tar.gz,地址自己找……
2)解压缩,>tar -zxvf httpd-2.0.55.tar.gz
3)进入解压后的httpd-2.0.55,>cd httpd-2.0.55
4)安装配置,>./configure --prefix=/opt/apache --enable-cgi
5)编译,>make
6)安装,>make install
7)启动,>/opt/apache/bin/apachectl start (restart 重启,stop停止)
现在打开浏览器,输入http://localhost,即可看到apache的欢迎界面。
注:
1)apache配置文件的修改,路径:/opt/apache/conf/httpd.conf,修改完配置文件记得重启apache
*修改默认首页:DirectoryIndex index.html index.html,改为:DirectoryIndex index.html index.html index.php
*添加执行PHP文件:AddType application/x-httpd-php .php
*修改默认编码:AddDefaultCharset utf-8
2)apache建立虚拟机
NameVirtualHost *:80
<VirtualHost *:80>
ServerName test.test.com
DocumentRoot /opt/htdocs/test
</VirtualHost>
相关文档:
Service Discovery Protocol(SDP)提供一种能力,让应用程序有方法发现哪种服务可用以及这种服务的特性。
服务发现协议(SDP或Bluetooth SDP)在蓝牙协议栈中对蓝牙环境中的应用程序有特殊的含意,发现哪个服务是可用的和确定这些可用服务的特征。SDP定义了bluetooth client发现可用bluetooth server服务和它们的特征的方法。 ......
Linux系统信息查看命令大全
版权声明
:可以任意转载,但转载时必须标明原作者charlee、原始链接http://tech.idv2.com/2008/01/11/linux-sysinfo-cmds
以及本声明。
<!--
google_ad_client = "pub-3705997236397030";
//文章内容右侧广告
google_ad_slot = "1819082211";
google_ad_width = ......
linux目录架构
/ 根目录
/bin 常用的命令 binary file 的目錄
/boot 存放系统启动时必须读取的档案,包括核心 (kernel) 在内
/boot/grub/menu.lst &n ......
本文从各方面阐述了Red Hat Linux的安全配置方法,如果您使用的是Windows Server 2003服务器的话,请看Windows Server 2003 系统配置方案。
网络安全是指网络系统的硬件、软件及其系统中的数据受到保护,不受偶然的或者恶意的原因而遭到破坏、更改、泄露,系统连续可靠正常地运行,网络服务不中断。
网络安全从其本质上来 ......