如何知道 Apache 的连接数目

2008-10-25 23:57

如果在LINUX 或者SOLARIS上装好了Apache, 我应该用什么命令能知道在某一时间, 或者某一时间段,连接到WEB服务器上的用户数目? 前提是不用其他第三方的记录分析软件. 是找工作时,被别人问不知如何回答的问题,请指教. mb 回复于:2004-01-18 08:28:17 netstat -nat|grep -i “80″|wc -l 以上结果再减1吧 五花小鱼 回复于:2004-01-18 13:57:00 up HonestQiao 回复于:2004-01-19 11:01:36 [quote:dcee4aad9f="五花小鱼"]前提是你没有打开任... [阅读全文]

Apache Server Status 解读之 Apache 日志系统

2008-10-25 23:54

在查看其中一台服务器的Apache Server Status(如何开启Apache Server Status点这里)信息的时候,发现有非常多的Logging,先说解决方法,关闭Apache的日志之后,问题解决。 也就是说Server Status中的Logging状态表示的是记录日志中,如果出现很多的Logging状态,就意味着Apache在处理日志信息占去了很多一部分资源,建议关闭日志,如果需要的话,可以使用更高性能的独立硬盘来记录。 当每天一台服务器每天的日志请求数目,达到五百万以上,或者更高级别,比如千万级别的时候,就应该考虑采用关闭日志等方式来避免Apache在日志上消耗更多的性能... [阅读全文]

Apache mod_rewrite 规则重写的标志一览

2008-09-19 06:44

1) R[=code](force redirect) 强制外部重定向 强制在替代字符串加上http://thishost[:thisport]/前缀重定向到外部的URL.如果code不指定,将用缺省的302 HTTP状态码。 2) F(force URL to be forbidden)禁用URL,返回403HTTP状态码。 3) G(force URL to be gone) 强制URL为GONE,返回410HTTP状态码。 4) P(force proxy) 强制使用代理转发。 5) L(last rule) 表明当前规则是最后一条规则,停止分析以后规则的重写。 6) N(next... [阅读全文]

100个技巧或工具建立你自己的家用 LAMP 服务器

2008-08-26 21:14

LAMP (Linux, Apache, MySQL and PHP) servers are very popular for their ease of use and flexibility. They’re also easy to initiate, because the components are easy to aquire and there’s a lot of documentation available to help with getting started. Read on to find some of the best resources available... [阅读全文]

Apache POI 3.1-FINAL

2008-07-02 14:37

Apache POI is well-known in the Java field as a library for reading and writing OLE2 office file formats, such as Excel, PowerPoint, Visio and Word. More than 100 bug fixes and plenty of new features are introduced in this version ... [阅读全文]

Apache mod_rewrite Basics

2008-07-02 13:38

Apache mod_rewrite is a tool that I wish I had tried to understand a lot early than I did. It makes URLs look so much cleaner not to mention the positive SEO results. This is a basic tutorial to get you started. ... [阅读全文]

用Smart Apache快速搭建Wordpress本地测试环境

2008-07-01 09:27

不限制安装路径,可安装到任意文件夹(路径中不含中文即可),是鸟鸟们搭建Wordpress本地测试环境的不二选择。请注意:安装后尽快使用更改MySQL数据库密码(默认的账户是root,密码是gochina,已建立一个名为“www”的空数据库),你可以使用Mysql-Front … ... [阅读全文]

drupalchina.org备选站点测试

2008-06-30 18:48

9470 apache 16 0 174m 55m 11m S 0 21.5 7:55.08 php-cgi 9471 apache 16 0 159m 42m 11m S 0 16.6 7:52.04 php-cgi 9486 apache 16 0 144m 26m 10m S 0 10.3 7:21.84 php-cgi 9467 apache 15 0 95800 2956 752 S 0 1.1 0:03.77 lighttpd … ... [阅读全文]

How to bridge PHP and Java on Windows with Apache Tomcat

2008-06-30 11:15

Want to run PHP and access Java? Here’s how to do it on Windows XP using Apace and Apache Tomcat. Although the tutorial show you how to do things by installing Apache Tomcat, this may not be ideal or what most want to do. So you may want to try this using the new Xampp Apache Tomcat addon. ... [阅读全文]

Easy Django installer with Apache and MySQL support

2008-06-28 07:24

You can find here a multiplatform installer for the Django framework, you can use it on Windows, Mac OS X and GNU/Linux. It takes less than three minutes to have Django with Apache, SQLite and MySQL support. They also provide forums to give support. ... [阅读全文]

Apache Wicket 1.3.4: Many Bug Fixes, Especially Leaks Plugged

2008-06-28 05:13

The Apache Wicket team has made available its fourth 1.3 maintenance release: Apache Wicket 1.3.4. A lot of bugs have been squashed and several improvements implemented. Two noteworthy bugs have been squashed ... [阅读全文]

Run Several Apps on a Single Stack with BitNami Modules

2008-06-28 04:08

The nice thing about BitNami Stacks is that they’re really easy to install because they include all of an application’s dependencies. But what if you want to run more than one app? You don’t to have too many instances of Apache, MySQL, etc running on your system. BitNami just rele... [阅读全文]

Step-by-step Install Guide for Ubuntu

2008-06-25 10:45

What you need to start Ubuntu 6.06 LTS server CD A test x86 desktop computer, keyboard, monitor, mouse, and firewalled internet connection. One hour of time. (seriously!) Directions Install Ubuntu Start computer and use F12 to boot from CD. Select Install to hard drive. Select your languag... [阅读全文]

Debian GNU/Linux installation

2008-06-25 10:43

Installing Moodle as a Debian package Using apt-get, aptitude or Synaptic Make sure your PC connected to the internet. (Moodle has been included with Debian Sarge. You don’t need net connection, if you have the Debian Sarge CDs or DVDs that are configured as download repositories for apt-ge... [阅读全文]

mod_python and python2.5

2008-06-25 10:15

UPDATE: Of course, the easier alternative, is just to upgrade to Kubuntu Feisty… More for my own reference than anything else…. To get mod_python working with python2.5 on kubuntu: 1. Install apache2, if you haven’t already. 2. Install python2.5: sudo apt-get install python2.5 sudo apt-get inst... [阅读全文]

Intrusion Detection For PHP Applications With PHPIDS

2008-06-24 17:01

This tutorial explains how to set up PHPIDS on a web server with Apache2 and PHP5. PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application. The IDS neither strips, sanitizes nor filters any malicious in... [阅读全文]

Is Apache Ant Dead/Dying?

2008-06-23 14:32

Ant 1.7.0 was released way back in December 2006. Since then, there hasn’t been a single update. Not even a maintenance release. Now, ant is a relatively mature product. It’s been out a while and is quite stable. But it’s certainly not bug free. ... [阅读全文]

Windows 下配置Apache2, PHP5, MYSQL5 和 Zend

2008-04-30 16:06

Windows XP下全新安装Apache2,PHP5,MYSQL5,Zend的简单过程 一、下载地址: Apache2.0.50 :http://httpd.apache.org/download.cgi PHP5.0.2 :http://cn2.php.net/get/php-5.0.2-Win32.zip/from/a/mirror MYSQL5.0.2:http://dev.mysql.com/downloads/mysql/5.0.html Zend2.5.2 :http://www.zend.com/store/free_download.php?pid=13] 软件的安装偶就不说... [阅读全文]