一、改动httpd.conf打开appserv的安装文件夹,找到httpd.conf文件,分别去掉以下两行文字前面的#号。#LoadModule vhost_alias_module modules/mod_vhost_alias.so去掉#意思是启用apache的虚拟主机功能。#Include c...
分类:
其他好文 时间:
2014-06-28 23:31:54
阅读次数:
280
准备工作:sudo apt-get install build-essential第一步:安装Apachesudo apt-get install apache2第二步:安装MySQLsudo apt-get install mysql-server libapache2-mod-auth-mysq...
分类:
其他好文 时间:
2014-06-28 14:48:41
阅读次数:
192
一、安装ApacheUbuntu提供了3个apache2的软件包,它们分别是apache2-mpm-worker、apache2-mpm-prefork、apache2-mpm-event。如果你在安装Ubuntu操作系统《入门篇:ubuntu server 安装教程》的时候你选择安装了LAMP包的...
分类:
Web程序 时间:
2014-06-24 09:53:14
阅读次数:
331
Install apache2To execute the install command in terminal:sudo apt-get install apache2Then, we can find that the apache2 has been installed in "/etc/"...
分类:
Web程序 时间:
2014-06-24 09:39:53
阅读次数:
363
ubuntu整合apache和tomcat
ubuntu:12.04.1
apache:2
tomcat:7.0.27
版本号不同也没关系了,配置都是一样的。
1、安装apache
引用
aptitude install apache2
2、安装tomcat
直接下载压缩文件,这个看个人的使用方法,我比...
分类:
其他好文 时间:
2014-06-22 20:29:44
阅读次数:
220
环境CentOS6.5 64bitApache Ant 1.9.4:下载地址:http://ant.apache.org/bindownload.cgi安装与配置Ant安装:tar -zxvf apache-ant-1.9.4-bin.tar.gzln -s apache-ant-1.9.4 ant...
分类:
系统相关 时间:
2014-06-20 22:17:43
阅读次数:
301
步骤一、下载mahout http://www.apache.org/dyn/closer.cgi/mahout/我下载的是mahout-distribution-0.9.tar.gz 16-Feb-2014 08:31 66M 步骤二、下载完成后放到Linux中并解压解压命令:tar -zxvf ...
分类:
其他好文 时间:
2014-06-20 21:09:06
阅读次数:
178
Ubuntu的Server和Desktop上都配过php的LAMP环境,步骤没什么区别,相关的教程网上也很多,这里把自己的配置过程记录下来,省得每次都google…供参考整个环境用到Apache2、MySQL、php5和phpMyAdmin1、安装Apache2$ sudo apt-get inst...
分类:
Web程序 时间:
2014-06-20 15:45:13
阅读次数:
318
一、CGI编程
http://www.w3cschool.cc/python/python-cgi.html(里面实例很详细)
简单编程过程:
1.服务器的结构创建:
首先要一个web根目录(这里是web-app文件夹),所有的CGI或者py文件要存放在cgi-bin目录下,html则不能存放在该目录下。
2.启...
分类:
其他好文 时间:
2014-06-18 06:20:31
阅读次数:
713
二、mod_python
1.性能
使用mod_python的主要优势在于比传统CGI更高的性能。
一个测试,使用在Pentium
1.2GHz的机器上运行Red Hat Linux 7.3。使用4种类型的脚本,基于标准的CGI导入模块(以典型的Python
CGI脚本开始),然后输出'Hello!',测试10000次请求作为基准。
标准CGI:...
分类:
编程语言 时间:
2014-06-18 00:31:40
阅读次数:
408