View system connection status in CentOS
1. View TCP connection status
Netstat-nat | awk '{print $6}' | sort | uniq-c | sort-rn
Netstat-n | awk '/^ tcp/{++ S [$ NF]}; END {for (a in S) print a, S [a]}' orNetstat-n | awk '/^ tcp/{++ state [$ NF]}; END
[System]
Windows XP SP3, C is the System Disk
[File]
Php-5.2.17-Win32-VC6-x86.zip
Httpd-2.2.19-win32-x86-openssl-0.9.8r.msi
[Installation and configuration steps]
1. php:
12.16.decompress php-5.2.17-win32-vc6-x86.zip, rename the
Refer: Http://zyan.cc/nginx_php_v6/ Advantages of nginx over Apache:1. lightweight and similar web services, which consume less memory and resources than Apache servers2. Anti-concurrency. nginx processes Requests asynchronously and non-blocking
1. virtual directory:
That is, save the developed website in a specific space and configure it in the configuration file. This allows you to access the website in this folder through Apache.
(1) configuration path
# This is equivalent to the
Machine environment rhel3: Some RPM packages, such as GCC and make, are installed during system installation.
1. install Apache
1. Download Apache
2. Extract
Tar-xzvf httpd-2.0.63.tar.gz
3. Enter the Directory
CD httpd-2.0.63
4.
Etag
Text/finalbsdWe all know that there is an etag in HTTP/1.1 to determine whether the requested file has been modified.Why use etag? Etag is mainly used to solve some problems that last-modified cannot solve.1. Some files may be changed
How to set up a PHP server
How to set up a PHP server
"One" first download the software:
(Apache) I'm using the apache_2.24-win32-x86-no_src!! downloaded in Hurricane Software Park.
Download Address:
Apache modifies the port number to modify the root directory to build multiple websites, Apache port number
Modify Apache Port numberSelect Httpd.conf under Apache, look for: Listen, you will see#Listen 12.34.56.78:80Listen 80Change 80 to 90, save
PHP version VC6 and VC9, Thread safe and none-thread safe and other differences
Recently found a lot of PHP programmers on the PHP version of knowledge is not very clear, they also read a lot of similar articles, or feel not clear and
Three free PHP accelerators: APC, Eaccelerator, xcache comparison
This article was reproduced from: http://killker.com/blog/?p=94
Always want to find some articles about the acceleration of PHP, accidentally see the killing of this article, feel
A rewrite under Apache.
1: My is the Zend environment, by default, except for some static resources are mapped to index.php
2: I have a new mapping notice.html want to map to Content/index, and then let Content/index map to index.php
How do I write
Build a PHP development environment
I am a novice php, now want to build a PHP development environment, but on the internet to find a lot, but the configuration is a problem!
Therefore, the master to a detailed PHP development environment to build
I studied ubuntu before and learned centos again due to the relationship between my colleagues in Guangzhou. Now I have learned little basics. Just now we have this resource, so we will study ubuntu. I found ubuntu is also quite good, relatively
Server statistics: 1) count the number of connections on port 80Netstat-Nat | grep-I "80" | WC-l 2) count the number of httpd connectionsPS-Ef | grep httpd | WC-l 3) collect statistics on connected instances in the "established" statusNetstat-Na |
Due to the chaotic and changing versions of hadoop, the selection of hadoop versions has always worried many novice users. This article summarizes the evolution process of Apache hadoop and cloudera hadoop versions, and provides some suggestions for
I. As in the previous article, install the Apache server
Ii. Install MySQL
1. Download
: Http://dev.mysql.com/downloads/mysql/
Download the following three files:
MySQL-server-5.6.11-1.rhel5.i386.rpm
MySQL-client-5.6.11-1.rhel5.i386.rpm
MySQL-devel-5
Global -- discuz! Rewrite configuration instructions
Discuz! The URL-Based Static (URL-Based Static) function can be used to discuz! Archiver and some common pages (such as Forumdisplay. PHP, viewthread. PHP, viewpro. URL static conversion, form a
With the competition with IIS and the rise of Lighttpd, the Apache market is declining. However, pingdom statistics show that Apache still leads 100 of the nation's top 49% websites, accounting for of the market share.
Among the many websites
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.